0s autopkgtest [20:43:05]: starting date and time: 2025-05-02 20:43:05+0000 0s autopkgtest [20:43:05]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [20:43:05]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.81cm2222/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:tzdata --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-21@sto01-arm64-4.secgroup --name adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 --image adt/ubuntu-questing-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-21 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 77s autopkgtest [20:44:22]: testbed dpkg architecture: arm64 77s autopkgtest [20:44:22]: testbed apt version: 3.0.0 78s autopkgtest [20:44:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 78s autopkgtest [20:44:23]: testbed release detected to be: None 78s autopkgtest [20:44:23]: updating testbed package index (apt update) 79s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 79s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 79s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 79s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 79s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 79s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 79s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 79s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 79s Fetched 3997 kB in 1s (6886 kB/s) 80s Reading package lists... 80s autopkgtest [20:44:25]: upgrading testbed (apt dist-upgrade and autopurge) 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 81s Starting 2 pkgProblemResolver with broken count: 0 81s Done 82s Entering ResolveByKeep 82s 82s Calculating upgrade... 83s The following packages will be upgraded: 83s libperl5.40 perl perl-base perl-modules-5.40 tzdata 83s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Need to get 10.2 MB of archives. 83s After this operation, 1024 B disk space will be freed. 83s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 83s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 83s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 83s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 83s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 84s Preconfiguring packages ... 84s Fetched 10.2 MB in 1s (17.9 MB/s) 84s (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 ... 85225 files and directories currently installed.) 84s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 84s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 84s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 84s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 84s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 84s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 85s Setting up perl-base (5.40.1-3) ... 85s (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 ... 85225 files and directories currently installed.) 85s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 85s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 85s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 85s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 85s Setting up tzdata (2025b-3ubuntu1) ... 85s 85s Current default time zone: 'Etc/UTC' 85s Local time is now: Fri May 2 20:44:30 UTC 2025. 85s Universal Time is now: Fri May 2 20:44:30 UTC 2025. 85s Run 'dpkg-reconfigure tzdata' if you wish to change it. 85s 85s Setting up perl-modules-5.40 (5.40.1-3) ... 85s Setting up libperl5.40:arm64 (5.40.1-3) ... 85s Setting up perl (5.40.1-3) ... 85s Processing triggers for man-db (2.13.0-1) ... 86s Processing triggers for libc-bin (2.41-6ubuntu1) ... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s Starting pkgProblemResolver with broken count: 0 87s Starting 2 pkgProblemResolver with broken count: 0 87s Done 87s Solving dependencies... 87s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s autopkgtest [20:44:35]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 14:37:51 UTC 2025 90s autopkgtest [20:44:35]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 99s Get:1 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (dsc) [4812 B] 99s Get:2 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [661 kB] 99s Get:3 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [5615 kB] 99s Get:4 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (diff) [136 kB] 99s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC 99s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 99s gpgv: Can't check signature: No public key 99s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found 99s autopkgtest [20:44:44]: testing package glib2.0 version 2.84.1-1 104s autopkgtest [20:44:49]: build not needed 112s autopkgtest [20:44:57]: test build: preparing testbed 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 114s The following NEW packages will be installed: 114s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 114s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 114s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 114s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 114s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 114s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 114s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 114s pkgconf-bin uuid-dev zlib1g-dev 114s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 114s Need to get 65.1 MB of archives. 114s After this operation, 229 MB of additional disk space will be used. 114s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libisl23 arm64 0.27-1 [676 kB] 114s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 114s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [10.6 MB] 114s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14 arm64 14.2.0-19ubuntu2 [1026 B] 114s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [5558 B] 114s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 cpp arm64 4:14.2.0-1ubuntu1 [22.4 kB] 114s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 libcc1-0 arm64 15-20250404-0ubuntu1 [49.1 kB] 114s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libgomp1 arm64 15-20250404-0ubuntu1 [147 kB] 114s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 libitm1 arm64 15-20250404-0ubuntu1 [27.8 kB] 114s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libasan8 arm64 15-20250404-0ubuntu1 [2922 kB] 114s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 liblsan0 arm64 15-20250404-0ubuntu1 [1318 kB] 114s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 libtsan2 arm64 15-20250404-0ubuntu1 [2692 kB] 114s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 libubsan1 arm64 15-20250404-0ubuntu1 [1177 kB] 114s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 libhwasan0 arm64 15-20250404-0ubuntu1 [1640 kB] 114s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 libgcc-14-dev arm64 14.2.0-19ubuntu2 [2593 kB] 114s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [20.9 MB] 115s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14 arm64 14.2.0-19ubuntu2 [529 kB] 115s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [1200 B] 115s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 gcc arm64 4:14.2.0-1ubuntu1 [4998 B] 115s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libstdc++-14-dev arm64 14.2.0-19ubuntu2 [2501 kB] 115s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [12.1 MB] 115s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14 arm64 14.2.0-19ubuntu2 [23.0 kB] 115s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 g++-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [956 B] 115s Get:24 http://ftpmaster.internal/ubuntu questing/main arm64 g++ arm64 4:14.2.0-1ubuntu1 [1080 B] 115s Get:25 http://ftpmaster.internal/ubuntu questing/main arm64 build-essential arm64 12.12ubuntu1 [5082 B] 115s Get:26 http://ftpmaster.internal/ubuntu questing/main arm64 libffi-dev arm64 3.4.7-1 [59.5 kB] 115s Get:27 http://ftpmaster.internal/ubuntu questing/main arm64 uuid-dev arm64 2.40.2-14ubuntu1 [55.2 kB] 115s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libblkid-dev arm64 2.40.2-14ubuntu1 [243 kB] 115s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 115s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-16-0 arm64 10.45-1 [222 kB] 115s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-32-0 arm64 10.45-1 [210 kB] 115s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-posix3 arm64 10.45-1 [7084 B] 115s Get:33 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-dev arm64 10.45-1 [768 kB] 115s Get:34 http://ftpmaster.internal/ubuntu questing/main arm64 libselinux1-dev arm64 3.7-3ubuntu3 [174 kB] 115s Get:35 http://ftpmaster.internal/ubuntu questing/main arm64 libmount-dev arm64 2.40.2-14ubuntu1 [34.6 kB] 115s Get:36 http://ftpmaster.internal/ubuntu questing/main arm64 libsysprof-capture-4-dev arm64 48.0-2 [55.1 kB] 115s Get:37 http://ftpmaster.internal/ubuntu questing/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 115s Get:38 http://ftpmaster.internal/ubuntu questing/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 115s Get:39 http://ftpmaster.internal/ubuntu questing/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 115s Get:40 http://ftpmaster.internal/ubuntu questing/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 115s Get:41 http://ftpmaster.internal/ubuntu questing/main arm64 libgio-2.0-dev arm64 2.84.1-1 [1917 kB] 116s Fetched 65.1 MB in 1s (44.9 MB/s) 116s Selecting previously unselected package libisl23:arm64. 116s (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 ... 85225 files and directories currently installed.) 116s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 116s Unpacking libisl23:arm64 (0.27-1) ... 116s Selecting previously unselected package libmpc3:arm64. 116s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 116s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 116s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 116s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 116s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package cpp-14. 116s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_arm64.deb ... 116s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package cpp-aarch64-linux-gnu. 116s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 116s Unpacking cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package cpp. 116s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_arm64.deb ... 116s Unpacking cpp (4:14.2.0-1ubuntu1) ... 116s Selecting previously unselected package libcc1-0:arm64. 116s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libcc1-0:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libgomp1:arm64. 116s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libgomp1:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libitm1:arm64. 116s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libitm1:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libasan8:arm64. 116s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libasan8:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package liblsan0:arm64. 116s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking liblsan0:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libtsan2:arm64. 116s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libtsan2:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libubsan1:arm64. 116s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libubsan1:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libhwasan0:arm64. 116s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_arm64.deb ... 116s Unpacking libhwasan0:arm64 (15-20250404-0ubuntu1) ... 116s Selecting previously unselected package libgcc-14-dev:arm64. 116s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_arm64.deb ... 116s Unpacking libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 116s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 116s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 116s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 117s Selecting previously unselected package gcc-14. 117s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_arm64.deb ... 117s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 117s Selecting previously unselected package gcc-aarch64-linux-gnu. 117s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 117s Unpacking gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 117s Selecting previously unselected package gcc. 117s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_arm64.deb ... 117s Unpacking gcc (4:14.2.0-1ubuntu1) ... 117s Selecting previously unselected package libstdc++-14-dev:arm64. 117s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_arm64.deb ... 117s Unpacking libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 117s Selecting previously unselected package g++-14-aarch64-linux-gnu. 117s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 117s Unpacking g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 117s Selecting previously unselected package g++-14. 117s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_arm64.deb ... 117s Unpacking g++-14 (14.2.0-19ubuntu2) ... 117s Selecting previously unselected package g++-aarch64-linux-gnu. 117s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 117s Unpacking g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 117s Selecting previously unselected package g++. 117s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_arm64.deb ... 117s Unpacking g++ (4:14.2.0-1ubuntu1) ... 117s Selecting previously unselected package build-essential. 117s Preparing to unpack .../24-build-essential_12.12ubuntu1_arm64.deb ... 117s Unpacking build-essential (12.12ubuntu1) ... 117s Selecting previously unselected package libffi-dev:arm64. 118s Preparing to unpack .../25-libffi-dev_3.4.7-1_arm64.deb ... 118s Unpacking libffi-dev:arm64 (3.4.7-1) ... 118s Selecting previously unselected package uuid-dev:arm64. 118s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_arm64.deb ... 118s Unpacking uuid-dev:arm64 (2.40.2-14ubuntu1) ... 118s Selecting previously unselected package libblkid-dev:arm64. 118s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_arm64.deb ... 118s Unpacking libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 118s Selecting previously unselected package libsepol-dev:arm64. 118s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 118s Unpacking libsepol-dev:arm64 (3.7-1) ... 118s Selecting previously unselected package libpcre2-16-0:arm64. 118s Preparing to unpack .../29-libpcre2-16-0_10.45-1_arm64.deb ... 118s Unpacking libpcre2-16-0:arm64 (10.45-1) ... 118s Selecting previously unselected package libpcre2-32-0:arm64. 118s Preparing to unpack .../30-libpcre2-32-0_10.45-1_arm64.deb ... 118s Unpacking libpcre2-32-0:arm64 (10.45-1) ... 118s Selecting previously unselected package libpcre2-posix3:arm64. 118s Preparing to unpack .../31-libpcre2-posix3_10.45-1_arm64.deb ... 118s Unpacking libpcre2-posix3:arm64 (10.45-1) ... 118s Selecting previously unselected package libpcre2-dev:arm64. 118s Preparing to unpack .../32-libpcre2-dev_10.45-1_arm64.deb ... 118s Unpacking libpcre2-dev:arm64 (10.45-1) ... 118s Selecting previously unselected package libselinux1-dev:arm64. 118s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu3_arm64.deb ... 118s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu3) ... 118s Selecting previously unselected package libmount-dev:arm64. 118s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_arm64.deb ... 118s Unpacking libmount-dev:arm64 (2.40.2-14ubuntu1) ... 118s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 118s Preparing to unpack .../35-libsysprof-capture-4-dev_48.0-2_arm64.deb ... 118s Unpacking libsysprof-capture-4-dev:arm64 (48.0-2) ... 118s Selecting previously unselected package libpkgconf3:arm64. 118s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 118s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 118s Selecting previously unselected package pkgconf-bin. 118s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 118s Unpacking pkgconf-bin (1.8.1-4) ... 118s Selecting previously unselected package pkgconf:arm64. 118s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 118s Unpacking pkgconf:arm64 (1.8.1-4) ... 118s Selecting previously unselected package zlib1g-dev:arm64. 118s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 118s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 118s Selecting previously unselected package libgio-2.0-dev:arm64. 118s Preparing to unpack .../40-libgio-2.0-dev_2.84.1-1_arm64.deb ... 118s Unpacking libgio-2.0-dev:arm64 (2.84.1-1) ... 118s Setting up libgomp1:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libffi-dev:arm64 (3.4.7-1) ... 118s Setting up libpcre2-16-0:arm64 (10.45-1) ... 118s Setting up libsysprof-capture-4-dev:arm64 (48.0-2) ... 118s Setting up libpcre2-32-0:arm64 (10.45-1) ... 118s Setting up libpkgconf3:arm64 (1.8.1-4) ... 118s Setting up uuid-dev:arm64 (2.40.2-14ubuntu1) ... 118s Setting up libmpc3:arm64 (1.3.1-1build2) ... 118s Setting up libsepol-dev:arm64 (3.7-1) ... 118s Setting up pkgconf-bin (1.8.1-4) ... 118s Setting up libubsan1:arm64 (15-20250404-0ubuntu1) ... 118s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 118s Setting up libpcre2-posix3:arm64 (10.45-1) ... 118s Setting up libhwasan0:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libasan8:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libtsan2:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libisl23:arm64 (0.27-1) ... 118s Setting up libcc1-0:arm64 (15-20250404-0ubuntu1) ... 118s Setting up liblsan0:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libitm1:arm64 (15-20250404-0ubuntu1) ... 118s Setting up libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 118s Setting up libpcre2-dev:arm64 (10.45-1) ... 118s Setting up libselinux1-dev:arm64 (3.7-3ubuntu3) ... 118s Setting up pkgconf:arm64 (1.8.1-4) ... 118s Setting up cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 118s Setting up libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 118s Setting up libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 118s Setting up libmount-dev:arm64 (2.40.2-14ubuntu1) ... 118s Setting up libgio-2.0-dev:arm64 (2.84.1-1) ... 118s Setting up cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 118s Setting up cpp-14 (14.2.0-19ubuntu2) ... 118s Setting up cpp (4:14.2.0-1ubuntu1) ... 118s Setting up gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 118s Setting up gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 118s Setting up g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 118s Setting up gcc-14 (14.2.0-19ubuntu2) ... 118s Setting up g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 118s Setting up g++-14 (14.2.0-19ubuntu2) ... 118s Setting up gcc (4:14.2.0-1ubuntu1) ... 118s Setting up g++ (4:14.2.0-1ubuntu1) ... 118s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 118s Setting up build-essential (12.12ubuntu1) ... 118s Processing triggers for libc-bin (2.41-6ubuntu1) ... 118s Processing triggers for man-db (2.13.0-1) ... 119s Processing triggers for libglib2.0-0t64:arm64 (2.84.1-1) ... 119s No schema files found: doing nothing. 119s Processing triggers for install-info (7.1.1-1) ... 120s autopkgtest [20:45:05]: test build: [----------------------- 120s + mode=dynamic 120s + getopt -o --long static -n debian/tests/build -- 120s + getopt_temp= -- 120s + eval set -- -- 120s + set -- -- 120s + true 120s + shift 120s + break 120s + mktemp -d 120s + WORKDIR=/tmp/tmp.FyPEPgvZkR 120s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 120s + cd /tmp/tmp.FyPEPgvZkR 120s + [ -n ] 120s + CROSS_COMPILE= 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cflags= 120s + pcflags= 120s + packages=glib-2.0 120s + pkg-config --cflags --libs glib-2.0 120s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 120s + echo build (glib, dynamic): OK 120s + [ -x glib-dynamic ] 120s + foo=bar ./glib-dynamic 120s build (glib, dynamic): OK 120s + echo run (glib, dynamic): OK 120s + cflags= 120s + run (glib, dynamic): OK 120s pcflags= 120s + packages=gobject-2.0 120s + pkg-config --cflags --libs gobject-2.0 120s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 120s + echo build (gobject, dynamic): OK 120s + [ -x gobject-dynamic ] 120s + foo=bar ./gobject-dynamic 120s + echo run (gobject, dynamic): OK 120s + cflags= 120s + pcflags= 120s + packages=gio-2.0 120s + pkg-config --cflags --libs gio-2.0 120s build (gobject, dynamic): OK 120s run (gobject, dynamic): OK 120s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 121s + echo build (gio, dynamic): OK 121s + [ -x gio-dynamic ] 121s + foo=bar ./gio-dynamic 121s build (gio, dynamic): OK 121s run (gio, dynamic): OK 121s + echo run (gio, dynamic): OK 121s + cflags= 121s + pcflags= 121s + packages=gio-unix-2.0 121s + pkg-config --cflags --libs gio-unix-2.0 121s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 121s + build (gio-unix, dynamic): OK 121s echo build (gio-unix, dynamic): OK 121s + [ -x gio-unix-dynamic ] 121s + foo=bar ./gio-unix-dynamic 121s run (gio-unix, dynamic): OK 121s + echo run (gio-unix, dynamic): OK 121s + cflags= 121s + pcflags= 121s + packages=gmodule-2.0 121s + pkg-config --cflags --libs gmodule-2.0 121s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 121s build (gmodule, dynamic): OK 121s + echo build (gmodule, dynamic): OK 121s + [ -x gmodule-dynamic ] 121s + foo=bar ./gmodule-dynamic 121s + run (gmodule, dynamic): OK 121s echo run (gmodule, dynamic): OK 121s + cflags= 121s + pcflags= 121s + packages=gthread-2.0 121s + pkg-config --cflags --libs gthread-2.0 121s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 121s + build (gthread, dynamic): OK 121s echo build (gthread, dynamic): OK 121s + [ -x gthread-dynamic ] 121s + foo=bar ./gthread-dynamic 121s run (gthread, dynamic): OK 121s + echo run (gthread, dynamic): OK 121s + rm -rf /tmp/tmp.FyPEPgvZkR 121s autopkgtest [20:45:06]: test build: -----------------------] 122s build PASS (superficial) 122s autopkgtest [20:45:07]: test build: - - - - - - - - - - results - - - - - - - - - - 122s autopkgtest [20:45:07]: test build-static: preparing testbed 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 123s Starting pkgProblemResolver with broken count: 0 123s Starting 2 pkgProblemResolver with broken count: 0 123s Done 123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s autopkgtest [20:45:09]: test build-static: [----------------------- 124s + mode=dynamic 124s + getopt -o --long static -n debian/tests/build -- --static 124s + getopt_temp= --static -- 124s + eval set -- --static -- 124s + set -- --static -- 124s + true 124s + mode=static 124s + shift 124s + continue 124s + true 124s + shift 124s + break 124s + mktemp -d 124s + WORKDIR=/tmp/tmp.zimEcRPjIT 124s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 124s + cd /tmp/tmp.zimEcRPjIT 124s + [ -n ] 124s + CROSS_COMPILE= 124s + cat 124s + cat 124s + cat 124s + cat 124s + cat 124s + cat 124s + cflags= 124s + pcflags= 124s + packages=glib-2.0 124s + cflags=-static 124s + pcflags=--static 124s + pkg-config --static --cflags --libs glib-2.0 124s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 124s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 124s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 124s /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 125s build (glib, static): OK 125s + echo build (glib, static): OK 125s + [ -x glib-static ] 125s + foo=bar ./glib-static 125s + echo run (glib, static): OK 125s + run (glib, static): OK 125s cflags= 125s + pcflags= 125s + packages=gobject-2.0 125s + cflags=-static 125s + pcflags=--static 125s + pkg-config --static --cflags --libs gobject-2.0 125s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 125s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 125s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /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 125s build (gobject, static): OK 125s + echo build (gobject, static): OK 125s + [ -x gobject-static ] 125s + foo=bar ./gobject-static 125s + run (gobject, static): OK 125s echo run (gobject, static): OK 125s + cflags= 125s + pcflags= 125s + packages=gio-2.0 125s + cflags=-static 125s + pcflags=--static 125s + continue 125s + cflags= 125s + pcflags= 125s + packages=gio-unix-2.0 125s + cflags=-static 125s + pcflags=--static 125s + continue 125s + cflags= 125s + pcflags= 125s + packages=gmodule-2.0 125s + cflags=-static 125s + pcflags=--static 125s + pkg-config --static --cflags --libs gmodule-2.0 125s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 125s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 125s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 125s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /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 125s build (gmodule, static): OK 125s + echo build (gmodule, static): OK 125s + [ -x gmodule-static ] 125s + foo=bar ./gmodule-static 125s + echo run (gmodule, static): OK 125s + cflags= 125s + pcflags= 125s + packages=gthread-2.0 125s + cflags=-static 125s + pcflags=--static 125s run (gmodule, static): OK 125s + pkg-config --static --cflags --libs gthread-2.0 125s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 125s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 125s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 125s /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 125s build (gthread, static): OK 125s run (gthread, static): OK 125s + echo build (gthread, static): OK 125s + [ -x gthread-static ] 125s + foo=bar ./gthread-static 125s + echo run (gthread, static): OK 125s + rm -rf /tmp/tmp.zimEcRPjIT 125s autopkgtest [20:45:10]: test build-static: -----------------------] 126s autopkgtest [20:45:11]: test build-static: - - - - - - - - - - results - - - - - - - - - - 126s build-static PASS (superficial) 126s autopkgtest [20:45:11]: test girepository-tools: preparing testbed 192s autopkgtest [20:46:17]: testbed dpkg architecture: arm64 192s autopkgtest [20:46:17]: testbed apt version: 3.0.0 192s autopkgtest [20:46:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 192s autopkgtest [20:46:17]: testbed release detected to be: questing 193s autopkgtest [20:46:18]: updating testbed package index (apt update) 193s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 193s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 193s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 193s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 193s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 193s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 194s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 194s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 194s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 194s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 194s Fetched 3997 kB in 1s (5085 kB/s) 195s Reading package lists... 195s autopkgtest [20:46:20]: upgrading testbed (apt dist-upgrade and autopurge) 196s Reading package lists... 196s Building dependency tree... 196s 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 198s Calculating upgrade... 198s The following packages will be upgraded: 198s libperl5.40 perl perl-base perl-modules-5.40 tzdata 198s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 198s Need to get 10.2 MB of archives. 198s After this operation, 1024 B disk space will be freed. 198s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 198s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 198s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 198s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 198s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 199s Preconfiguring packages ... 199s Fetched 10.2 MB in 1s (19.6 MB/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 ... 85225 files and directories currently installed.) 199s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 199s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 199s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 199s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 199s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 199s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 200s Setting up perl-base (5.40.1-3) ... 200s (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 ... 85225 files and directories currently installed.) 200s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 200s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 200s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 200s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 200s Setting up tzdata (2025b-3ubuntu1) ... 200s 200s Current default time zone: 'Etc/UTC' 200s Local time is now: Fri May 2 20:46:25 UTC 2025. 200s Universal Time is now: Fri May 2 20:46:25 UTC 2025. 200s Run 'dpkg-reconfigure tzdata' if you wish to change it. 200s 200s Setting up perl-modules-5.40 (5.40.1-3) ... 200s Setting up libperl5.40:arm64 (5.40.1-3) ... 200s Setting up perl (5.40.1-3) ... 200s Processing triggers for man-db (2.13.0-1) ... 201s Processing triggers for libc-bin (2.41-6ubuntu1) ... 201s Reading package lists... 201s Building dependency tree... 201s Reading state information... 202s Starting pkgProblemResolver with broken count: 0 202s Starting 2 pkgProblemResolver with broken count: 0 202s Done 202s Solving dependencies... 202s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 205s Reading package lists... 205s Building dependency tree... 205s Reading state information... 205s Starting pkgProblemResolver with broken count: 0 205s Starting 2 pkgProblemResolver with broken count: 0 205s Done 206s The following NEW packages will be installed: 206s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 206s native-architecture 206s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 206s Need to get 1044 kB of archives. 206s After this operation, 12.8 MB of additional disk space will be used. 206s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 gir1.2-glib-2.0-dev arm64 2.84.1-1 [862 kB] 206s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 native-architecture all 0.2.6 [2140 B] 206s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 libgirepository-2.0-0 arm64 2.84.1-1 [73.2 kB] 206s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 girepository-tools arm64 2.84.1-1 [106 kB] 207s Fetched 1044 kB in 0s (11.9 MB/s) 207s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 207s (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 ... 85225 files and directories currently installed.) 207s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_arm64.deb ... 207s Unpacking gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 207s Selecting previously unselected package native-architecture. 207s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 207s Unpacking native-architecture (0.2.6) ... 207s Selecting previously unselected package libgirepository-2.0-0:arm64. 207s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_arm64.deb ... 207s Unpacking libgirepository-2.0-0:arm64 (2.84.1-1) ... 207s Selecting previously unselected package girepository-tools:arm64. 207s Preparing to unpack .../girepository-tools_2.84.1-1_arm64.deb ... 207s Unpacking girepository-tools:arm64 (2.84.1-1) ... 207s Setting up native-architecture (0.2.6) ... 207s Setting up libgirepository-2.0-0:arm64 (2.84.1-1) ... 207s Setting up gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 207s Setting up girepository-tools:arm64 (2.84.1-1) ... 207s Processing triggers for man-db (2.13.0-1) ... 207s Processing triggers for libc-bin (2.41-6ubuntu1) ... 212s autopkgtest [20:46:37]: test girepository-tools: [----------------------- 213s + cd /tmp/autopkgtest.u2jAug/autopkgtest_tmp 213s + dpkg-architecture -qDEB_HOST_GNU_TYPE 213s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 213s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 213s + dpkg-architecture -qDEB_HOST_MULTIARCH 213s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 213s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 213s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 213s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 213s typelib: GLib-2.0 213s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 213s autopkgtest [20:46:38]: test girepository-tools: -----------------------] 213s girepository-tools PASS (superficial) 213s autopkgtest [20:46:38]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 214s autopkgtest [20:46:39]: test libgio-2.0-dev-bin: preparing testbed 302s autopkgtest [20:48:07]: testbed dpkg architecture: arm64 302s autopkgtest [20:48:07]: testbed apt version: 3.0.0 302s autopkgtest [20:48:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 302s autopkgtest [20:48:07]: testbed release detected to be: questing 303s autopkgtest [20:48:08]: updating testbed package index (apt update) 303s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 303s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 303s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 303s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 303s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 303s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 303s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 303s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 303s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 304s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 304s Fetched 3997 kB in 1s (5123 kB/s) 305s Reading package lists... 305s autopkgtest [20:48:10]: upgrading testbed (apt dist-upgrade and autopurge) 305s Reading package lists... 306s Building dependency tree... 306s Reading state information... 306s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 306s Starting 2 pkgProblemResolver with broken count: 0 306s Done 307s Entering ResolveByKeep 307s 307s Calculating upgrade... 308s The following packages will be upgraded: 308s libperl5.40 perl perl-base perl-modules-5.40 tzdata 308s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 308s Need to get 10.2 MB of archives. 308s After this operation, 1024 B disk space will be freed. 308s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 308s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 308s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 308s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 308s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 308s Preconfiguring packages ... 308s Fetched 10.2 MB in 0s (41.5 MB/s) 309s (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 ... 85225 files and directories currently installed.) 309s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 309s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 309s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 309s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 309s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 309s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 309s Setting up perl-base (5.40.1-3) ... 309s (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 ... 85225 files and directories currently installed.) 309s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 309s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 309s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 309s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 310s Setting up tzdata (2025b-3ubuntu1) ... 310s 310s Current default time zone: 'Etc/UTC' 310s Local time is now: Fri May 2 20:48:15 UTC 2025. 310s Universal Time is now: Fri May 2 20:48:15 UTC 2025. 310s Run 'dpkg-reconfigure tzdata' if you wish to change it. 310s 310s Setting up perl-modules-5.40 (5.40.1-3) ... 310s Setting up libperl5.40:arm64 (5.40.1-3) ... 310s Setting up perl (5.40.1-3) ... 310s Processing triggers for man-db (2.13.0-1) ... 310s Processing triggers for libc-bin (2.41-6ubuntu1) ... 311s Reading package lists... 311s Building dependency tree... 311s Reading state information... 311s Starting pkgProblemResolver with broken count: 0 311s Starting 2 pkgProblemResolver with broken count: 0 311s Done 312s Solving dependencies... 312s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 314s Reading package lists... 315s Building dependency tree... 315s Reading state information... 315s Starting pkgProblemResolver with broken count: 0 315s Starting 2 pkgProblemResolver with broken count: 0 315s Done 316s The following NEW packages will be installed: 316s libgio-2.0-dev-bin 316s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 316s Need to get 129 kB of archives. 316s After this operation, 817 kB of additional disk space will be used. 316s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libgio-2.0-dev-bin arm64 2.84.1-1 [129 kB] 316s Fetched 129 kB in 0s (8155 kB/s) 316s Selecting previously unselected package libgio-2.0-dev-bin. 316s (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 ... 85225 files and directories currently installed.) 316s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_arm64.deb ... 316s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 316s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 316s Processing triggers for man-db (2.13.0-1) ... 321s autopkgtest [20:48:26]: test libgio-2.0-dev-bin: [----------------------- 322s + gdbus-codegen --help 322s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 322s [--c-namespace NAMESPACE] [--c-generate-object-manager] 322s [--c-generate-autocleanup {none,objects,all}] 322s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 322s [--generate-rst OUTFILES] [--pragma-once] 322s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 322s [--glib-min-required VERSION] 322s [--glib-max-allowed VERSION] 322s [--symbol-decorator SYMBOL_DECORATOR] 322s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 322s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 322s [--generate-c-code OUTFILES | --header | --body | 322s --interface-info-header | --interface-info-body] 322s [--output FILE | --output-directory OUTDIR] 322s FILE [FILE ...] 322s 322s D-Bus code and documentation generator 322s 322s positional arguments: 322s FILE D-Bus introspection XML file 322s 322s options: 322s -h, --help show this help message and exit 322s --interface-prefix PREFIX 322s String to strip from D-Bus interface names for code 322s and docs 322s --c-namespace NAMESPACE 322s The namespace to use for generated C code 322s --c-generate-object-manager 322s Generate a GDBusObjectManagerClient subclass when 322s generating C code 322s --c-generate-autocleanup {none,objects,all} 322s Generate autocleanup support 322s --generate-docbook OUTFILES 322s Generate Docbook in OUTFILES-org.Project.IFace.xml 322s --generate-md OUTFILES 322s Generate Markdown in OUTFILES-org.Project.IFace.md 322s --generate-rst OUTFILES 322s Generate reStructuredText in OUTFILES- 322s org.Project.IFace.rst 322s --pragma-once Use "pragma once" as the inclusion guard 322s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 322s Add annotation (may be used several times) 322s --glib-min-required VERSION 322s Minimum version of GLib to be supported by the 322s outputted code (default: 2.30) 322s --glib-max-allowed VERSION 322s Maximum version of GLib to be used by the outputted 322s code (default: current GLib version) 322s --symbol-decorator SYMBOL_DECORATOR 322s Macro used to decorate a symbol in the outputted 322s header, possibly to export symbols 322s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 322s Additional header required for decorator specified by 322s --symbol-decorator 322s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 322s Additional define required for decorator specified by 322s --symbol-decorator 322s --generate-c-code OUTFILES 322s Generate C code in OUTFILES.[ch] 322s --header Generate C headers 322s --body Generate C code 322s --interface-info-header 322s Generate GDBusInterfaceInfo C header 322s --interface-info-body 322s Generate GDBusInterfaceInfo C code 322s --output FILE Write output into the specified file 322s --output-directory OUTDIR 322s Location to output generated files 322s + glib-compile-resources --version 322s 2.84.1 322s + glib-genmarshal --version 322s glib-genmarshal version 2.84.1 322s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 322s You may redistribute copies of glib-genmarshal under the terms of 322s the GNU General Public License which can be found in the 322s GLib source package. Sources, examples and contact 322s information are available at http://www.gtk.org 322s + glib-gettextize --version 322s /usr/bin/glib-gettextize (GNU glib) 2.84.1 322s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 322s This is free software; see the source for copying conditions. There is NO 322s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 322s Written by Ulrich Drepper 322s + glib-mkenums --version 322s glib-mkenums version 2.84.1 322s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 322s You may redistribute copies of glib-mkenums under the terms of 322s the GNU General Public License which can be found in the 322s GLib source package. Sources, examples and contact 322s information are available at http://www.gtk.org 322s + gobject-query tree 322s + gtester --version 322s GObject 322s gtester version 2.84.1 322s + gtester-report --version 322s gtester-report (GLib utils) version 2.84.1. 322s autopkgtest [20:48:27]: test libgio-2.0-dev-bin: -----------------------] 322s libgio-2.0-dev-bin PASS (superficial) 322s autopkgtest [20:48:27]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 323s autopkgtest [20:48:28]: test libglib2.0-dev: preparing testbed 395s autopkgtest [20:49:40]: testbed dpkg architecture: arm64 395s autopkgtest [20:49:40]: testbed apt version: 3.0.0 395s autopkgtest [20:49:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 395s autopkgtest [20:49:40]: testbed release detected to be: questing 396s autopkgtest [20:49:41]: updating testbed package index (apt update) 396s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 396s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 396s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 396s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 396s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 396s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 396s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 397s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 397s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 397s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 397s Fetched 3997 kB in 1s (4957 kB/s) 398s Reading package lists... 398s autopkgtest [20:49:43]: upgrading testbed (apt dist-upgrade and autopurge) 398s Reading package lists... 399s Building dependency tree... 399s Reading state information... 399s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 399s Starting 2 pkgProblemResolver with broken count: 0 399s Done 400s Entering ResolveByKeep 400s 400s Calculating upgrade... 401s The following packages will be upgraded: 401s libperl5.40 perl perl-base perl-modules-5.40 tzdata 401s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 401s Need to get 10.2 MB of archives. 401s After this operation, 1024 B disk space will be freed. 401s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 401s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 401s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 401s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 401s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 401s Preconfiguring packages ... 402s Fetched 10.2 MB in 0s (22.3 MB/s) 402s (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 ... 85225 files and directories currently installed.) 402s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 402s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 402s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 402s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 402s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 402s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 402s Setting up perl-base (5.40.1-3) ... 402s (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 ... 85225 files and directories currently installed.) 402s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 402s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 403s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 403s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 403s Setting up tzdata (2025b-3ubuntu1) ... 403s 403s Current default time zone: 'Etc/UTC' 403s Local time is now: Fri May 2 20:49:47 UTC 2025. 403s Universal Time is now: Fri May 2 20:49:47 UTC 2025. 403s Run 'dpkg-reconfigure tzdata' if you wish to change it. 403s 403s Setting up perl-modules-5.40 (5.40.1-3) ... 403s Setting up libperl5.40:arm64 (5.40.1-3) ... 403s Setting up perl (5.40.1-3) ... 403s Processing triggers for man-db (2.13.0-1) ... 403s Processing triggers for libc-bin (2.41-6ubuntu1) ... 404s Reading package lists... 404s Building dependency tree... 404s Reading state information... 404s Starting pkgProblemResolver with broken count: 0 404s Starting 2 pkgProblemResolver with broken count: 0 404s Done 405s Solving dependencies... 405s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 407s Reading package lists... 408s Building dependency tree... 408s Reading state information... 408s Starting pkgProblemResolver with broken count: 0 408s Starting 2 pkgProblemResolver with broken count: 0 408s Done 409s The following NEW packages will be installed: 409s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 409s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 409s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 409s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 409s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 409s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 409s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 409s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 409s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 409s pkgconf-bin uuid-dev zlib1g-dev 409s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 409s Need to get 66.5 MB of archives. 409s After this operation, 243 MB of additional disk space will be used. 409s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libisl23 arm64 0.27-1 [676 kB] 409s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 409s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [10.6 MB] 409s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-14 arm64 14.2.0-19ubuntu2 [1026 B] 409s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 cpp-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [5558 B] 409s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 cpp arm64 4:14.2.0-1ubuntu1 [22.4 kB] 409s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 libcc1-0 arm64 15-20250404-0ubuntu1 [49.1 kB] 409s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libgomp1 arm64 15-20250404-0ubuntu1 [147 kB] 409s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 libitm1 arm64 15-20250404-0ubuntu1 [27.8 kB] 409s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libasan8 arm64 15-20250404-0ubuntu1 [2922 kB] 409s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 liblsan0 arm64 15-20250404-0ubuntu1 [1318 kB] 409s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 libtsan2 arm64 15-20250404-0ubuntu1 [2692 kB] 409s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 libubsan1 arm64 15-20250404-0ubuntu1 [1177 kB] 409s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 libhwasan0 arm64 15-20250404-0ubuntu1 [1640 kB] 409s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 libgcc-14-dev arm64 14.2.0-19ubuntu2 [2593 kB] 409s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [20.9 MB] 410s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-14 arm64 14.2.0-19ubuntu2 [529 kB] 410s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 gcc-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [1200 B] 410s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 gcc arm64 4:14.2.0-1ubuntu1 [4998 B] 410s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libstdc++-14-dev arm64 14.2.0-19ubuntu2 [2501 kB] 410s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-19ubuntu2 [12.1 MB] 410s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 g++-14 arm64 14.2.0-19ubuntu2 [23.0 kB] 410s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 g++-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [956 B] 410s Get:24 http://ftpmaster.internal/ubuntu questing/main arm64 g++ arm64 4:14.2.0-1ubuntu1 [1080 B] 410s Get:25 http://ftpmaster.internal/ubuntu questing/main arm64 build-essential arm64 12.12ubuntu1 [5082 B] 410s Get:26 http://ftpmaster.internal/ubuntu questing/main arm64 gir1.2-glib-2.0-dev arm64 2.84.1-1 [862 kB] 410s Get:27 http://ftpmaster.internal/ubuntu questing/main arm64 native-architecture all 0.2.6 [2140 B] 410s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libgirepository-2.0-0 arm64 2.84.1-1 [73.2 kB] 410s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 girepository-tools arm64 2.84.1-1 [106 kB] 410s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libffi-dev arm64 3.4.7-1 [59.5 kB] 410s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 uuid-dev arm64 2.40.2-14ubuntu1 [55.2 kB] 410s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 libblkid-dev arm64 2.40.2-14ubuntu1 [243 kB] 410s Get:33 http://ftpmaster.internal/ubuntu questing/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 410s Get:34 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-16-0 arm64 10.45-1 [222 kB] 410s Get:35 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-32-0 arm64 10.45-1 [210 kB] 410s Get:36 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-posix3 arm64 10.45-1 [7084 B] 410s Get:37 http://ftpmaster.internal/ubuntu questing/main arm64 libpcre2-dev arm64 10.45-1 [768 kB] 410s Get:38 http://ftpmaster.internal/ubuntu questing/main arm64 libselinux1-dev arm64 3.7-3ubuntu3 [174 kB] 410s Get:39 http://ftpmaster.internal/ubuntu questing/main arm64 libmount-dev arm64 2.40.2-14ubuntu1 [34.6 kB] 410s Get:40 http://ftpmaster.internal/ubuntu questing/main arm64 libsysprof-capture-4-dev arm64 48.0-2 [55.1 kB] 410s Get:41 http://ftpmaster.internal/ubuntu questing/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 410s Get:42 http://ftpmaster.internal/ubuntu questing/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 410s Get:43 http://ftpmaster.internal/ubuntu questing/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 410s Get:44 http://ftpmaster.internal/ubuntu questing/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 410s Get:45 http://ftpmaster.internal/ubuntu questing/main arm64 libgio-2.0-dev arm64 2.84.1-1 [1917 kB] 410s Get:46 http://ftpmaster.internal/ubuntu questing/main arm64 libgio-2.0-dev-bin arm64 2.84.1-1 [129 kB] 410s Get:47 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-bin arm64 2.84.1-1 [98.1 kB] 410s Get:48 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-dev-bin arm64 2.84.1-1 [18.1 kB] 410s Get:49 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-dev arm64 2.84.1-1 [18.9 kB] 410s Fetched 66.5 MB in 1s (46.4 MB/s) 410s Selecting previously unselected package libisl23:arm64. 410s (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 ... 85225 files and directories currently installed.) 410s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 410s Unpacking libisl23:arm64 (0.27-1) ... 410s Selecting previously unselected package libmpc3:arm64. 410s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 410s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 410s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 410s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 410s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 411s Selecting previously unselected package cpp-14. 411s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_arm64.deb ... 411s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 411s Selecting previously unselected package cpp-aarch64-linux-gnu. 411s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 411s Unpacking cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 411s Selecting previously unselected package cpp. 411s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_arm64.deb ... 411s Unpacking cpp (4:14.2.0-1ubuntu1) ... 411s Selecting previously unselected package libcc1-0:arm64. 411s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libcc1-0:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libgomp1:arm64. 411s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libgomp1:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libitm1:arm64. 411s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libitm1:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libasan8:arm64. 411s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libasan8:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package liblsan0:arm64. 411s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking liblsan0:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libtsan2:arm64. 411s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libtsan2:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libubsan1:arm64. 411s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libubsan1:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libhwasan0:arm64. 411s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_arm64.deb ... 411s Unpacking libhwasan0:arm64 (15-20250404-0ubuntu1) ... 411s Selecting previously unselected package libgcc-14-dev:arm64. 411s Preparing to unpack .../14-libgcc-14-dev_14.2.0-19ubuntu2_arm64.deb ... 411s Unpacking libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 411s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 411s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 411s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 412s Selecting previously unselected package gcc-14. 412s Preparing to unpack .../16-gcc-14_14.2.0-19ubuntu2_arm64.deb ... 412s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 412s Selecting previously unselected package gcc-aarch64-linux-gnu. 412s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 412s Unpacking gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 412s Selecting previously unselected package gcc. 412s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_arm64.deb ... 412s Unpacking gcc (4:14.2.0-1ubuntu1) ... 412s Selecting previously unselected package libstdc++-14-dev:arm64. 412s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-19ubuntu2_arm64.deb ... 412s Unpacking libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 412s Selecting previously unselected package g++-14-aarch64-linux-gnu. 412s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-19ubuntu2_arm64.deb ... 412s Unpacking g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 412s Selecting previously unselected package g++-14. 412s Preparing to unpack .../21-g++-14_14.2.0-19ubuntu2_arm64.deb ... 412s Unpacking g++-14 (14.2.0-19ubuntu2) ... 412s Selecting previously unselected package g++-aarch64-linux-gnu. 412s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 412s Unpacking g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 412s Selecting previously unselected package g++. 412s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_arm64.deb ... 412s Unpacking g++ (4:14.2.0-1ubuntu1) ... 412s Selecting previously unselected package build-essential. 412s Preparing to unpack .../24-build-essential_12.12ubuntu1_arm64.deb ... 412s Unpacking build-essential (12.12ubuntu1) ... 412s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 412s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.84.1-1_arm64.deb ... 412s Unpacking gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 412s Selecting previously unselected package native-architecture. 412s Preparing to unpack .../26-native-architecture_0.2.6_all.deb ... 412s Unpacking native-architecture (0.2.6) ... 412s Selecting previously unselected package libgirepository-2.0-0:arm64. 412s Preparing to unpack .../27-libgirepository-2.0-0_2.84.1-1_arm64.deb ... 412s Unpacking libgirepository-2.0-0:arm64 (2.84.1-1) ... 412s Selecting previously unselected package girepository-tools:arm64. 412s Preparing to unpack .../28-girepository-tools_2.84.1-1_arm64.deb ... 412s Unpacking girepository-tools:arm64 (2.84.1-1) ... 412s Selecting previously unselected package libffi-dev:arm64. 412s Preparing to unpack .../29-libffi-dev_3.4.7-1_arm64.deb ... 412s Unpacking libffi-dev:arm64 (3.4.7-1) ... 412s Selecting previously unselected package uuid-dev:arm64. 412s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_arm64.deb ... 412s Unpacking uuid-dev:arm64 (2.40.2-14ubuntu1) ... 412s Selecting previously unselected package libblkid-dev:arm64. 413s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_arm64.deb ... 413s Unpacking libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 413s Selecting previously unselected package libsepol-dev:arm64. 413s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 413s Unpacking libsepol-dev:arm64 (3.7-1) ... 413s Selecting previously unselected package libpcre2-16-0:arm64. 413s Preparing to unpack .../33-libpcre2-16-0_10.45-1_arm64.deb ... 413s Unpacking libpcre2-16-0:arm64 (10.45-1) ... 413s Selecting previously unselected package libpcre2-32-0:arm64. 413s Preparing to unpack .../34-libpcre2-32-0_10.45-1_arm64.deb ... 413s Unpacking libpcre2-32-0:arm64 (10.45-1) ... 413s Selecting previously unselected package libpcre2-posix3:arm64. 413s Preparing to unpack .../35-libpcre2-posix3_10.45-1_arm64.deb ... 413s Unpacking libpcre2-posix3:arm64 (10.45-1) ... 413s Selecting previously unselected package libpcre2-dev:arm64. 413s Preparing to unpack .../36-libpcre2-dev_10.45-1_arm64.deb ... 413s Unpacking libpcre2-dev:arm64 (10.45-1) ... 413s Selecting previously unselected package libselinux1-dev:arm64. 413s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu3_arm64.deb ... 413s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu3) ... 413s Selecting previously unselected package libmount-dev:arm64. 413s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_arm64.deb ... 413s Unpacking libmount-dev:arm64 (2.40.2-14ubuntu1) ... 413s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 413s Preparing to unpack .../39-libsysprof-capture-4-dev_48.0-2_arm64.deb ... 413s Unpacking libsysprof-capture-4-dev:arm64 (48.0-2) ... 413s Selecting previously unselected package libpkgconf3:arm64. 413s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 413s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 413s Selecting previously unselected package pkgconf-bin. 413s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 413s Unpacking pkgconf-bin (1.8.1-4) ... 413s Selecting previously unselected package pkgconf:arm64. 413s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 413s Unpacking pkgconf:arm64 (1.8.1-4) ... 413s Selecting previously unselected package zlib1g-dev:arm64. 413s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 413s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 413s Selecting previously unselected package libgio-2.0-dev:arm64. 413s Preparing to unpack .../44-libgio-2.0-dev_2.84.1-1_arm64.deb ... 413s Unpacking libgio-2.0-dev:arm64 (2.84.1-1) ... 413s Selecting previously unselected package libgio-2.0-dev-bin. 413s Preparing to unpack .../45-libgio-2.0-dev-bin_2.84.1-1_arm64.deb ... 413s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 413s Selecting previously unselected package libglib2.0-bin. 413s Preparing to unpack .../46-libglib2.0-bin_2.84.1-1_arm64.deb ... 413s Unpacking libglib2.0-bin (2.84.1-1) ... 413s Selecting previously unselected package libglib2.0-dev-bin. 413s Preparing to unpack .../47-libglib2.0-dev-bin_2.84.1-1_arm64.deb ... 413s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 413s Selecting previously unselected package libglib2.0-dev:arm64. 413s Preparing to unpack .../48-libglib2.0-dev_2.84.1-1_arm64.deb ... 413s Unpacking libglib2.0-dev:arm64 (2.84.1-1) ... 413s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 413s Setting up native-architecture (0.2.6) ... 413s Setting up libgirepository-2.0-0:arm64 (2.84.1-1) ... 413s Setting up libglib2.0-bin (2.84.1-1) ... 413s Setting up libgomp1:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libffi-dev:arm64 (3.4.7-1) ... 413s Setting up libpcre2-16-0:arm64 (10.45-1) ... 413s Setting up libsysprof-capture-4-dev:arm64 (48.0-2) ... 413s Setting up libpcre2-32-0:arm64 (10.45-1) ... 413s Setting up libpkgconf3:arm64 (1.8.1-4) ... 413s Setting up uuid-dev:arm64 (2.40.2-14ubuntu1) ... 413s Setting up libmpc3:arm64 (1.3.1-1build2) ... 413s Setting up libsepol-dev:arm64 (3.7-1) ... 413s Setting up pkgconf-bin (1.8.1-4) ... 413s Setting up libubsan1:arm64 (15-20250404-0ubuntu1) ... 413s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 413s Setting up libpcre2-posix3:arm64 (10.45-1) ... 413s Setting up gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 413s Setting up libhwasan0:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libasan8:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libtsan2:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libisl23:arm64 (0.27-1) ... 413s Setting up libcc1-0:arm64 (15-20250404-0ubuntu1) ... 413s Setting up liblsan0:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libitm1:arm64 (15-20250404-0ubuntu1) ... 413s Setting up libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 413s Setting up girepository-tools:arm64 (2.84.1-1) ... 413s Setting up libpcre2-dev:arm64 (10.45-1) ... 413s Setting up libselinux1-dev:arm64 (3.7-3ubuntu3) ... 413s Setting up pkgconf:arm64 (1.8.1-4) ... 413s Setting up cpp-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 413s Setting up libgcc-14-dev:arm64 (14.2.0-19ubuntu2) ... 413s Setting up libstdc++-14-dev:arm64 (14.2.0-19ubuntu2) ... 413s Setting up libmount-dev:arm64 (2.40.2-14ubuntu1) ... 413s Setting up libglib2.0-dev-bin (2.84.1-1) ... 413s Setting up libgio-2.0-dev:arm64 (2.84.1-1) ... 413s Setting up cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 413s Setting up cpp-14 (14.2.0-19ubuntu2) ... 413s Setting up cpp (4:14.2.0-1ubuntu1) ... 413s Setting up gcc-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 413s Setting up gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 413s Setting up g++-14-aarch64-linux-gnu (14.2.0-19ubuntu2) ... 413s Setting up gcc-14 (14.2.0-19ubuntu2) ... 413s Setting up g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 413s Setting up g++-14 (14.2.0-19ubuntu2) ... 413s Setting up gcc (4:14.2.0-1ubuntu1) ... 413s Setting up g++ (4:14.2.0-1ubuntu1) ... 413s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 413s Setting up build-essential (12.12ubuntu1) ... 414s Processing triggers for install-info (7.1.1-1) ... 414s Processing triggers for libc-bin (2.41-6ubuntu1) ... 414s Processing triggers for man-db (2.13.0-1) ... 414s Processing triggers for libglib2.0-0t64:arm64 (2.84.1-1) ... 414s No schema files found: doing nothing. 414s Setting up libglib2.0-dev:arm64 (2.84.1-1) ... 422s autopkgtest [20:50:07]: test libglib2.0-dev: [----------------------- 422s + debian/tests/build 422s + mode=dynamic 422s + getopt -o --long static -n debian/tests/build -- 422s + getopt_temp= -- 422s + eval set -- -- 422s + set -- -- 422s + true 422s + shift 422s + break 422s + mktemp -d 422s + WORKDIR=/tmp/tmp.HWq8oetaq5 422s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 422s + cd /tmp/tmp.HWq8oetaq5 422s + [ -n ] 422s + CROSS_COMPILE= 422s + cat 422s + cat 422s + cat 422s + cat 422s + cat 422s + cat 422s + cflags= 422s + pcflags= 422s + packages=glib-2.0 422s + pkg-config --cflags --libs glib-2.0 422s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 423s + echo build (glib, dynamic): OK 423s + [ -x glib-dynamic ] 423s + foo=bar ./glib-dynamic 423s build (glib, dynamic): OK 423s + echo run (glib, dynamic): OK 423s + cflags= 423s + pcflags= 423s + packages=gobject-2.0 423s run (glib, dynamic): OK 423s + pkg-config --cflags --libs gobject-2.0 423s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 423s + echo build (gobject, dynamic): OK 423s + [ -x gobject-dynamic ] 423s + foo=bar ./gobject-dynamic 423s build (gobject, dynamic): OK 423s + echo run (gobject, dynamic): OK 423s + cflags= 423s + pcflags= 423s + packages=gio-2.0 423s run (gobject, dynamic): OK 423s + pkg-config --cflags --libs gio-2.0 423s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 423s + echo build (gio, dynamic): OK 423s + [ -x gio-dynamic ] 423s + foo=bar ./gio-dynamic 423s build (gio, dynamic): OK 423s + echo run (gio, dynamic): OK 423s + cflags= 423s + pcflags= 423s + packages=gio-unix-2.0 423s + pkg-config --cflags --libs gio-unix-2.0 423s run (gio, dynamic): OK 423s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 423s build (gio-unix, dynamic): OK 423s + echo build (gio-unix, dynamic): OK 423s + [ -x gio-unix-dynamic ] 423s + foo=bar ./gio-unix-dynamic 423s + echo run (gio-unix, dynamic): OK 423s + cflags= 423s + pcflags= 423s + packages=gmodule-2.0 423s + pkg-config --cflags --libs gmodule-2.0 423s run (gio-unix, dynamic): OK 423s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 423s + echo build (gmodule, dynamic): OK 423s + [ -x gmodule-dynamic ] 423s + foo=bar ./gmodule-dynamic 423s + echo run (gmodule, dynamic): OK 423s + cflags= 423s + pcflags= 423s + packages=gthread-2.0 423s + pkg-config --cflags --libs gthread-2.0 423s build (gmodule, dynamic): OK 423s run (gmodule, dynamic): OK 423s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 423s build (gthread, dynamic): OK 423s + echo build (gthread, dynamic): OK 423s + [ -x gthread-dynamic ] 423s + foo=bar ./gthread-dynamic 423s run (gthread, dynamic): OK 423s + echo run (gthread, dynamic): OK 423s + rm -rf /tmp/tmp.HWq8oetaq5 423s + debian/tests/build-static 423s + mode=dynamic 423s + getopt -o --long static -n debian/tests/build -- --static 423s + getopt_temp= --static -- 423s + eval set -- --static -- 423s + set -- --static -- 423s + true 423s + mode=static 423s + shift 423s + continue 423s + true 423s + shift 423s + break 423s + mktemp -d 423s + WORKDIR=/tmp/tmp.GDpsAm7fxV 423s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 423s + cd /tmp/tmp.GDpsAm7fxV 423s + [ -n ] 423s + CROSS_COMPILE= 423s + cat 423s + cat 423s + cat 423s + cat 423s + cat 423s + cat 423s + cflags= 423s + pcflags= 423s + packages=glib-2.0 423s + cflags=-static 423s + pcflags=--static 423s + pkg-config --static --cflags --libs glib-2.0 423s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 423s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 423s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 423s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 423s /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 423s + echo build (glib, static): OK 423s + [ -x glib-static ] 423s + foo=bar ./glib-static 423s build (glib, static): OK 423s run (glib, static): OK 423s + echo run (glib, static): OK 423s + cflags= 423s + pcflags= 423s + packages=gobject-2.0 423s + cflags=-static 423s + pcflags=--static 423s + pkg-config --static --cflags --libs gobject-2.0 423s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 424s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 424s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /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 424s + echo build (gobject, static): OK 424s + [ -x gobject-static ] 424s + foo=bar ./gobject-static 424s build (gobject, static): OK 424s run (gobject, static): OK 424s + echo run (gobject, static): OK 424s + cflags= 424s + pcflags= 424s + packages=gio-2.0 424s + cflags=-static 424s + pcflags=--static 424s + continue 424s + cflags= 424s + pcflags= 424s + packages=gio-unix-2.0 424s + cflags=-static 424s + pcflags=--static 424s + continue 424s + cflags= 424s + pcflags= 424s + packages=gmodule-2.0 424s + cflags=-static 424s + pcflags=--static 424s + pkg-config --static --cflags --libs gmodule-2.0 424s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 424s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 424s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 424s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /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 424s build (gmodule, static): OK 424s + echo build (gmodule, static): OK 424s + [ -x gmodule-static ] 424s + foo=bar ./gmodule-static 424s run (gmodule, static): OK 424s + echo run (gmodule, static): OK 424s + cflags= 424s + pcflags= 424s + packages=gthread-2.0 424s + cflags=-static 424s + pcflags=--static 424s + pkg-config --static --cflags --libs gthread-2.0 424s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 424s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 424s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 424s /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 424s build (gthread, static): OK 424s + echo build (gthread, static): OK 424s + [ -x gthread-static ] 424s + foo=bar ./gthread-static 424s run (gthread, static): OK 424s + echo run (gthread, static): OK 424s + rm -rf /tmp/tmp.GDpsAm7fxV 424s + debian/tests/girepository-tools 424s + cd /tmp/autopkgtest.u2jAug/autopkgtest_tmp 424s + dpkg-architecture -qDEB_HOST_GNU_TYPE 424s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 424s + dpkg-architecture -qDEB_HOST_MULTIARCH 424s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 424s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 424s typelib: GLib-2.0 424s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 424s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 424s + debian/tests/libgio-2.0-dev-bin 424s + gdbus-codegen --help 424s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 424s [--c-namespace NAMESPACE] [--c-generate-object-manager] 424s [--c-generate-autocleanup {none,objects,all}] 424s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 424s [--generate-rst OUTFILES] [--pragma-once] 424s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 424s [--glib-min-required VERSION] 424s [--glib-max-allowed VERSION] 424s [--symbol-decorator SYMBOL_DECORATOR] 424s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 424s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 424s [--generate-c-code OUTFILES | --header | --body | 424s --interface-info-header | --interface-info-body] 424s [--output FILE | --output-directory OUTDIR] 424s FILE [FILE ...] 424s 424s D-Bus code and documentation generator 424s 424s positional arguments: 424s FILE D-Bus introspection XML file 424s 424s options: 424s -h, --help show this help message and exit 424s --interface-prefix PREFIX 424s String to strip from D-Bus interface names for code 424s and docs 424s --c-namespace NAMESPACE 424s The namespace to use for generated C code 424s --c-generate-object-manager 424s Generate a GDBusObjectManagerClient subclass when 424s generating C code 424s --c-generate-autocleanup {none,objects,all} 424s Generate autocleanup support 424s --generate-docbook OUTFILES 424s Generate Docbook in OUTFILES-org.Project.IFace.xml 424s --generate-md OUTFILES 424s Generate Markdown in OUTFILES-org.Project.IFace.md 424s --generate-rst OUTFILES 424s Generate reStructuredText in OUTFILES- 424s org.Project.IFace.rst 424s --pragma-once Use "pragma once" as the inclusion guard 424s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 424s Add annotation (may be used several times) 424s --glib-min-required VERSION 424s Minimum version of GLib to be supported by the 424s outputted code (default: 2.30) 424s --glib-max-allowed VERSION 424s Maximum version of GLib to be used by the outputted 424s code (default: current GLib version) 424s --symbol-decorator SYMBOL_DECORATOR 424s Macro used to decorate a symbol in the outputted 424s header, possibly to export symbols 424s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 424s Additional header required for decorator specified by 424s --symbol-decorator 424s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 424s Additional define required for decorator specified by 424s --symbol-decorator 424s --generate-c-code OUTFILES 424s Generate C code in OUTFILES.[ch] 424s --header Generate C headers 424s --body Generate C code 424s --interface-info-header 424s Generate GDBusInterfaceInfo C header 424s --interface-info-body 424s Generate GDBusInterfaceInfo C code 424s --output FILE Write output into the specified file 424s --output-directory OUTDIR 424s Location to output generated files 424s + glib-compile-resources --version 424s + glib-genmarshal --version 424s 2.84.1 424s glib-genmarshal version 2.84.1 424s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 424s You may redistribute copies of glib-genmarshal under the terms of 424s the GNU General Public License which can be found in the 424s GLib source package. Sources, examples and contact 424s information are available at http://www.gtk.org 424s + glib-gettextize --version 424s /usr/bin/glib-gettextize (GNU glib) 2.84.1 424s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 424s This is free software; see the source for copying conditions. There is NO 424s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 424s Written by Ulrich Drepper 424s + glib-mkenums --version 424s glib-mkenums version 2.84.1 424s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 424s You may redistribute copies of glib-mkenums under the terms of 424s the GNU General Public License which can be found in the 424s GLib source package. Sources, examples and contact 424s information are available at http://www.gtk.org 424s + gobject-query tree 424s + gtester --version 424s GObject 424s gtester version 2.84.1 424s + gtester-report --version 424s gtester-report (GLib utils) version 2.84.1. 424s + cd /tmp/autopkgtest.u2jAug/autopkgtest_tmp 424s + dpkg-architecture -qDEB_HOST_MULTIARCH 424s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 424s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 424s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 424s typelib: GLib-2.0 425s + gi-decompile-typelib -o GLib.gir GLib.typelib 425s autopkgtest [20:50:10]: test libglib2.0-dev: -----------------------] 425s libglib2.0-dev PASS (superficial) 425s autopkgtest [20:50:10]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 426s autopkgtest [20:50:11]: test installed-tests: preparing testbed 525s autopkgtest [20:51:50]: testbed dpkg architecture: arm64 525s autopkgtest [20:51:50]: testbed apt version: 3.0.0 526s autopkgtest [20:51:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 526s autopkgtest [20:51:51]: testbed release detected to be: questing 527s autopkgtest [20:51:52]: updating testbed package index (apt update) 527s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 527s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 527s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 527s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 527s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 527s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 527s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 527s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 527s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 527s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 527s Fetched 3997 kB in 1s (6190 kB/s) 528s Reading package lists... 529s autopkgtest [20:51:54]: upgrading testbed (apt dist-upgrade and autopurge) 529s Reading package lists... 529s Building dependency tree... 529s Reading state information... 530s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 530s Starting 2 pkgProblemResolver with broken count: 0 530s Done 531s Entering ResolveByKeep 531s 531s Calculating upgrade... 531s The following packages will be upgraded: 531s libperl5.40 perl perl-base perl-modules-5.40 tzdata 531s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 531s Need to get 10.2 MB of archives. 531s After this operation, 1024 B disk space will be freed. 531s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 532s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 532s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 532s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 532s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 532s Preconfiguring packages ... 532s Fetched 10.2 MB in 0s (35.4 MB/s) 532s (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 ... 85225 files and directories currently installed.) 532s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 532s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 532s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 532s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 533s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 533s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 533s Setting up perl-base (5.40.1-3) ... 533s (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 ... 85225 files and directories currently installed.) 533s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 533s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 533s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 533s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 533s Setting up tzdata (2025b-3ubuntu1) ... 533s 533s Current default time zone: 'Etc/UTC' 533s Local time is now: Fri May 2 20:51:58 UTC 2025. 533s Universal Time is now: Fri May 2 20:51:58 UTC 2025. 533s Run 'dpkg-reconfigure tzdata' if you wish to change it. 533s 533s Setting up perl-modules-5.40 (5.40.1-3) ... 533s Setting up libperl5.40:arm64 (5.40.1-3) ... 533s Setting up perl (5.40.1-3) ... 533s Processing triggers for man-db (2.13.0-1) ... 534s Processing triggers for libc-bin (2.41-6ubuntu1) ... 534s Reading package lists... 534s Building dependency tree... 534s Reading state information... 535s Starting pkgProblemResolver with broken count: 0 535s Starting 2 pkgProblemResolver with broken count: 0 535s Done 535s Solving dependencies... 536s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 538s Reading package lists... 538s Building dependency tree... 538s Reading state information... 539s Starting pkgProblemResolver with broken count: 0 539s Starting 2 pkgProblemResolver with broken count: 0 539s Done 539s The following NEW packages will be installed: 539s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 539s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin 539s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 539s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 539s libpixman-1-0 libsm6 libunwind8 libvulkan1 libwayland-server0 libx11-xcb1 539s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 539s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 539s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 539s native-architecture python3-dbusmock tzdata-legacy x11-common x11-xkb-utils 539s xserver-common xvfb 539s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 539s Need to get 15.9 MB of archives. 539s After this operation, 94.8 MB of additional disk space will be used. 539s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 dbus-x11 arm64 1.16.2-2ubuntu1 [23.1 kB] 539s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 540s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 gir1.2-glib-2.0-dev arm64 2.84.1-1 [862 kB] 540s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 native-architecture all 0.2.6 [2140 B] 540s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 libgirepository-2.0-0 arm64 2.84.1-1 [73.2 kB] 540s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 girepository-tools arm64 2.84.1-1 [106 kB] 540s Get:7 http://ftpmaster.internal/ubuntu questing/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 540s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 540s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 libwayland-server0 arm64 1.23.1-3 [36.1 kB] 540s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 540s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 540s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 540s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 540s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 540s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 540s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 540s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 mesa-libgallium arm64 25.0.3-1ubuntu2 [9455 kB] 540s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 libgbm1 arm64 25.0.3-1ubuntu2 [33.7 kB] 540s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 libgio-2.0-dev-bin arm64 2.84.1-1 [129 kB] 540s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libvulkan1 arm64 1.4.304.0-1 [158 kB] 540s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 libgl1-mesa-dri arm64 25.0.3-1ubuntu2 [35.4 kB] 540s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-bin arm64 2.84.1-1 [98.1 kB] 540s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-dev-bin arm64 2.84.1-1 [18.1 kB] 540s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-dbusmock all 0.34.3-1 [92.4 kB] 540s Get:25 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 540s Get:26 http://ftpmaster.internal/ubuntu questing/universe arm64 libglib2.0-tests arm64 2.84.1-1 [2124 kB] 540s Get:27 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 540s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 540s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 540s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libglx-mesa0 arm64 25.0.3-1ubuntu2 [151 kB] 540s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 x11-common all 1:7.7+23ubuntu4 [21.8 kB] 540s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 540s Get:33 http://ftpmaster.internal/ubuntu questing/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 540s Get:34 http://ftpmaster.internal/ubuntu questing/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 540s Get:35 http://ftpmaster.internal/ubuntu questing/main arm64 libunwind8 arm64 1.6.2-3.1 [53.5 kB] 540s Get:36 http://ftpmaster.internal/ubuntu questing/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 540s Get:37 http://ftpmaster.internal/ubuntu questing/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 540s Get:38 http://ftpmaster.internal/ubuntu questing/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 540s Get:39 http://ftpmaster.internal/ubuntu questing/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 540s Get:40 http://ftpmaster.internal/ubuntu questing/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 540s Get:41 http://ftpmaster.internal/ubuntu questing/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 540s Get:42 http://ftpmaster.internal/ubuntu questing/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 540s Get:43 http://ftpmaster.internal/ubuntu questing/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 540s Get:44 http://ftpmaster.internal/ubuntu questing/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 540s Get:45 http://ftpmaster.internal/ubuntu questing/main arm64 xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 540s Get:46 http://ftpmaster.internal/ubuntu questing/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 540s Get:47 http://ftpmaster.internal/ubuntu questing/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 540s Get:48 http://ftpmaster.internal/ubuntu questing/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 540s Get:49 http://ftpmaster.internal/ubuntu questing/universe arm64 xvfb arm64 2:21.1.16-1ubuntu1 [870 kB] 540s Fetched 15.9 MB in 1s (29.5 MB/s) 540s Selecting previously unselected package dbus-x11. 540s (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 ... 85225 files and directories currently installed.) 540s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_arm64.deb ... 540s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 540s Selecting previously unselected package desktop-file-utils. 540s Preparing to unpack .../01-desktop-file-utils_0.28-1_arm64.deb ... 540s Unpacking desktop-file-utils (0.28-1) ... 540s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 540s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_arm64.deb ... 540s Unpacking gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 541s Selecting previously unselected package native-architecture. 541s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 541s Unpacking native-architecture (0.2.6) ... 541s Selecting previously unselected package libgirepository-2.0-0:arm64. 541s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_arm64.deb ... 541s Unpacking libgirepository-2.0-0:arm64 (2.84.1-1) ... 541s Selecting previously unselected package girepository-tools:arm64. 541s Preparing to unpack .../05-girepository-tools_2.84.1-1_arm64.deb ... 541s Unpacking girepository-tools:arm64 (2.84.1-1) ... 541s Selecting previously unselected package gnome-desktop-testing. 541s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_arm64.deb ... 541s Unpacking gnome-desktop-testing (2021.1-4) ... 541s Selecting previously unselected package libfontenc1:arm64. 541s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 541s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 541s Selecting previously unselected package libwayland-server0:arm64. 541s Preparing to unpack .../08-libwayland-server0_1.23.1-3_arm64.deb ... 541s Unpacking libwayland-server0:arm64 (1.23.1-3) ... 541s Selecting previously unselected package libx11-xcb1:arm64. 541s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 541s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 541s Selecting previously unselected package libxcb-dri3-0:arm64. 541s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2_arm64.deb ... 541s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 541s Selecting previously unselected package libxcb-present0:arm64. 541s Preparing to unpack .../11-libxcb-present0_1.17.0-2_arm64.deb ... 541s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 541s Selecting previously unselected package libxcb-randr0:arm64. 541s Preparing to unpack .../12-libxcb-randr0_1.17.0-2_arm64.deb ... 541s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 541s Selecting previously unselected package libxcb-sync1:arm64. 541s Preparing to unpack .../13-libxcb-sync1_1.17.0-2_arm64.deb ... 541s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 541s Selecting previously unselected package libxcb-xfixes0:arm64. 541s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2_arm64.deb ... 541s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 541s Selecting previously unselected package libxshmfence1:arm64. 541s Preparing to unpack .../15-libxshmfence1_1.3-1build5_arm64.deb ... 541s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 541s Selecting previously unselected package mesa-libgallium:arm64. 541s Preparing to unpack .../16-mesa-libgallium_25.0.3-1ubuntu2_arm64.deb ... 541s Unpacking mesa-libgallium:arm64 (25.0.3-1ubuntu2) ... 541s Selecting previously unselected package libgbm1:arm64. 541s Preparing to unpack .../17-libgbm1_25.0.3-1ubuntu2_arm64.deb ... 541s Unpacking libgbm1:arm64 (25.0.3-1ubuntu2) ... 541s Selecting previously unselected package libgio-2.0-dev-bin. 541s Preparing to unpack .../18-libgio-2.0-dev-bin_2.84.1-1_arm64.deb ... 541s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 541s Selecting previously unselected package libvulkan1:arm64. 541s Preparing to unpack .../19-libvulkan1_1.4.304.0-1_arm64.deb ... 541s Unpacking libvulkan1:arm64 (1.4.304.0-1) ... 541s Selecting previously unselected package libgl1-mesa-dri:arm64. 541s Preparing to unpack .../20-libgl1-mesa-dri_25.0.3-1ubuntu2_arm64.deb ... 541s Unpacking libgl1-mesa-dri:arm64 (25.0.3-1ubuntu2) ... 541s Selecting previously unselected package libglib2.0-bin. 541s Preparing to unpack .../21-libglib2.0-bin_2.84.1-1_arm64.deb ... 541s Unpacking libglib2.0-bin (2.84.1-1) ... 541s Selecting previously unselected package libglib2.0-dev-bin. 541s Preparing to unpack .../22-libglib2.0-dev-bin_2.84.1-1_arm64.deb ... 541s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 541s Selecting previously unselected package python3-dbusmock. 541s Preparing to unpack .../23-python3-dbusmock_0.34.3-1_all.deb ... 541s Unpacking python3-dbusmock (0.34.3-1) ... 541s Selecting previously unselected package tzdata-legacy. 541s Preparing to unpack .../24-tzdata-legacy_2025b-3ubuntu1_all.deb ... 541s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 541s Selecting previously unselected package libglib2.0-tests. 541s Preparing to unpack .../25-libglib2.0-tests_2.84.1-1_arm64.deb ... 541s Unpacking libglib2.0-tests (2.84.1-1) ... 542s Selecting previously unselected package libxcb-glx0:arm64. 542s Preparing to unpack .../26-libxcb-glx0_1.17.0-2_arm64.deb ... 542s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 542s Selecting previously unselected package libxcb-shm0:arm64. 542s Preparing to unpack .../27-libxcb-shm0_1.17.0-2_arm64.deb ... 542s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 542s Selecting previously unselected package libxxf86vm1:arm64. 542s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 542s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 542s Selecting previously unselected package libglx-mesa0:arm64. 542s Preparing to unpack .../29-libglx-mesa0_25.0.3-1ubuntu2_arm64.deb ... 542s Unpacking libglx-mesa0:arm64 (25.0.3-1ubuntu2) ... 542s Selecting previously unselected package x11-common. 542s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu4_all.deb ... 542s Unpacking x11-common (1:7.7+23ubuntu4) ... 542s Selecting previously unselected package libice6:arm64. 542s Preparing to unpack .../31-libice6_2%3a1.1.1-1_arm64.deb ... 542s Unpacking libice6:arm64 (2:1.1.1-1) ... 542s Selecting previously unselected package libpixman-1-0:arm64. 542s Preparing to unpack .../32-libpixman-1-0_0.44.0-3_arm64.deb ... 542s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 542s Selecting previously unselected package libsm6:arm64. 542s Preparing to unpack .../33-libsm6_2%3a1.2.4-1_arm64.deb ... 542s Unpacking libsm6:arm64 (2:1.2.4-1) ... 542s Selecting previously unselected package libunwind8:arm64. 542s Preparing to unpack .../34-libunwind8_1.6.2-3.1_arm64.deb ... 542s Unpacking libunwind8:arm64 (1.6.2-3.1) ... 542s Selecting previously unselected package libxt6t64:arm64. 542s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 542s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 542s Selecting previously unselected package libxmu6:arm64. 542s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 542s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 542s Selecting previously unselected package libxpm4:arm64. 542s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 542s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 542s Selecting previously unselected package libxaw7:arm64. 542s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1_arm64.deb ... 542s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 542s Selecting previously unselected package libxfont2:arm64. 542s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 542s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 542s Selecting previously unselected package libxkbfile1:arm64. 542s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 542s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 542s Selecting previously unselected package libxrender1:arm64. 542s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 542s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 542s Selecting previously unselected package libxrandr2:arm64. 542s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1_arm64.deb ... 542s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 542s Selecting previously unselected package x11-xkb-utils. 542s Preparing to unpack .../43-x11-xkb-utils_7.7+9_arm64.deb ... 542s Unpacking x11-xkb-utils (7.7+9) ... 542s Selecting previously unselected package xserver-common. 542s Preparing to unpack .../44-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 542s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 542s Selecting previously unselected package libglvnd0:arm64. 542s Preparing to unpack .../45-libglvnd0_1.7.0-1build1_arm64.deb ... 542s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 542s Selecting previously unselected package libglx0:arm64. 542s Preparing to unpack .../46-libglx0_1.7.0-1build1_arm64.deb ... 542s Unpacking libglx0:arm64 (1.7.0-1build1) ... 542s Selecting previously unselected package libgl1:arm64. 542s Preparing to unpack .../47-libgl1_1.7.0-1build1_arm64.deb ... 542s Unpacking libgl1:arm64 (1.7.0-1build1) ... 542s Selecting previously unselected package xvfb. 542s Preparing to unpack .../48-xvfb_2%3a21.1.16-1ubuntu1_arm64.deb ... 542s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 542s Setting up gnome-desktop-testing (2021.1-4) ... 542s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 542s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 542s Setting up libwayland-server0:arm64 (1.23.1-3) ... 542s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 542s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 543s Setting up native-architecture (0.2.6) ... 543s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 543s Setting up desktop-file-utils (0.28-1) ... 543s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 543s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 543s Setting up libgirepository-2.0-0:arm64 (2.84.1-1) ... 543s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 543s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 543s Setting up x11-common (1:7.7+23ubuntu4) ... 543s Setting up libglib2.0-bin (2.84.1-1) ... 543s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 543s Setting up python3-dbusmock (0.34.3-1) ... 543s Setting up libunwind8:arm64 (1.6.2-3.1) ... 543s Setting up tzdata-legacy (2025b-3ubuntu1) ... 543s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 543s Setting up libxcb-present0:arm64 (1.17.0-2) ... 543s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 543s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 543s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 543s Setting up libvulkan1:arm64 (1.4.304.0-1) ... 543s Setting up gir1.2-glib-2.0-dev:arm64 (2.84.1-1) ... 543s Setting up libxshmfence1:arm64 (1.3-1build5) ... 543s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 543s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 543s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 543s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 543s Setting up libice6:arm64 (2:1.1.1-1) ... 543s Setting up mesa-libgallium:arm64 (25.0.3-1ubuntu2) ... 543s Setting up girepository-tools:arm64 (2.84.1-1) ... 543s Setting up libgbm1:arm64 (25.0.3-1ubuntu2) ... 543s Setting up libgl1-mesa-dri:arm64 (25.0.3-1ubuntu2) ... 543s Setting up libsm6:arm64 (2:1.2.4-1) ... 543s Setting up libglib2.0-dev-bin (2.84.1-1) ... 543s Setting up libglx-mesa0:arm64 (25.0.3-1ubuntu2) ... 543s Setting up libglx0:arm64 (1.7.0-1build1) ... 543s Setting up libgl1:arm64 (1.7.0-1build1) ... 543s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 543s Setting up libglib2.0-tests (2.84.1-1) ... 543s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 543s Setting up libxaw7:arm64 (2:1.0.16-1) ... 543s Setting up x11-xkb-utils (7.7+9) ... 543s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 543s Setting up xvfb (2:21.1.16-1ubuntu1) ... 543s Processing triggers for man-db (2.13.0-1) ... 544s Processing triggers for libc-bin (2.41-6ubuntu1) ... 550s autopkgtest [20:52:15]: test installed-tests: [----------------------- 550s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),102(lxd) 550s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 550s group entry: ubuntu:x:1000: 550s Environment: 550s ADTTMP=/tmp/autopkgtest.u2jAug/autopkgtest_tmp 550s ADT_ARTIFACTS=/tmp/autopkgtest.u2jAug/installed-tests-artifacts 550s ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 550s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.u2jAug/installed-tests-artifacts 550s AUTOPKGTEST_TESTBED_ARCH=arm64 550s AUTOPKGTEST_TEST_ARCH=arm64 550s AUTOPKGTEST_TMP=/tmp/autopkgtest.u2jAug/autopkgtest_tmp 550s DEBIAN_FRONTEND=noninteractive 550s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 550s DEB_BUILD_OPTIONS=parallel=2 550s GIO_USE_VFS=local 550s GIO_USE_VOLUME_MONITOR=unix 550s HOME=/home/ubuntu 550s LANG=C.UTF-8 550s LOGNAME=ubuntu 550s MAIL=/var/mail/ubuntu 550s OLDPWD=/home/ubuntu 550s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 550s PWD=/tmp/autopkgtest.u2jAug/build.hb4/src 550s SHELL=/bin/bash 550s SHLVL=1 550s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.u2jAug/wrapper.sh --artifacts=/tmp/autopkgtest.u2jAug/installed-tests-artifacts --chdir=/tmp/autopkgtest.u2jAug/build.hb4/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.u2jAug/installed-tests-stderr --stdout=/tmp/autopkgtest.u2jAug/installed-tests-stdout --tmp=/tmp/autopkgtest.u2jAug/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 --make-executable=/tmp/autopkgtest.u2jAug/build.hb4/src/debian/tests/installed-tests -- /tmp/autopkgtest.u2jAug/build.hb4/src/debian/tests/installed-tests 550s SUDO_GID=1000 550s SUDO_HOME=/home/ubuntu 550s SUDO_UID=1000 550s SUDO_USER=ubuntu 550s TERM=linux 550s USER=ubuntu 550s XDG_RUNTIME_DIR=/tmp/autopkgtest.u2jAug/autopkgtest_tmp 550s http_proxy=http://egress.ps7.internal:3128/ 550s https_proxy=http://egress.ps7.internal:3128/ 550s run-with-locales: de_DE=ISO-8859-1... 550s Character set: ISO-8859-1 550s Source file: de_DE 550s Output: /tmp/tmp.liVmRyEH3P/de_DE 550s run-with-locales: de_DE.utf8... 550s Character set: UTF-8 550s Source file: de_DE 550s Output: /tmp/tmp.liVmRyEH3P/de_DE.utf8 552s run-with-locales: de_DE@euro.utf8... 552s Character set: UTF-8 552s Source file: de_DE@euro 552s Output: /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8 554s run-with-locales: el_GR.utf8... 554s Character set: UTF-8 554s Source file: el_GR 554s Output: /tmp/tmp.liVmRyEH3P/el_GR.utf8 556s run-with-locales: en_GB=ISO-8859-1... 556s Character set: ISO-8859-1 556s Source file: en_GB 556s Output: /tmp/tmp.liVmRyEH3P/en_GB 556s run-with-locales: en_GB.utf8... 556s Character set: UTF-8 556s Source file: en_GB 556s Output: /tmp/tmp.liVmRyEH3P/en_GB.utf8 558s run-with-locales: en_US=ISO-8859-1... 558s Character set: ISO-8859-1 558s Source file: en_US 558s Output: /tmp/tmp.liVmRyEH3P/en_US 559s run-with-locales: en_US.utf8... 559s Character set: UTF-8 559s Source file: en_US 559s Output: /tmp/tmp.liVmRyEH3P/en_US.utf8 561s run-with-locales: es_ES.utf8... 561s Character set: UTF-8 561s Source file: es_ES 561s Output: /tmp/tmp.liVmRyEH3P/es_ES.utf8 563s run-with-locales: fa_IR=UTF-8... 563s Character set: UTF-8 563s Source file: fa_IR 563s Output: /tmp/tmp.liVmRyEH3P/fa_IR 565s run-with-locales: fa_IR.utf8... 565s Character set: UTF-8 565s Source file: fa_IR 565s Output: /tmp/tmp.liVmRyEH3P/fa_IR.utf8 567s run-with-locales: fr_FR.utf8... 567s Character set: UTF-8 567s Source file: fr_FR 567s Output: /tmp/tmp.liVmRyEH3P/fr_FR.utf8 569s run-with-locales: hr_HR.utf8... 569s Character set: UTF-8 569s Source file: hr_HR 569s Output: /tmp/tmp.liVmRyEH3P/hr_HR.utf8 571s run-with-locales: ja_JP.utf8... 571s Character set: UTF-8 571s Source file: ja_JP 571s Output: /tmp/tmp.liVmRyEH3P/ja_JP.utf8 572s run-with-locales: ja_JP.EUC-JP... 572s Character set: EUC-JP 572s Source file: ja_JP 572s Output: /tmp/tmp.liVmRyEH3P/ja_JP.eucjp 572s run-with-locales: lt_LT.utf8... 572s Character set: UTF-8 572s Source file: lt_LT 572s Output: /tmp/tmp.liVmRyEH3P/lt_LT.utf8 574s run-with-locales: pl_PL=ISO-8859-2... 574s Character set: ISO-8859-2 574s Source file: pl_PL 574s Output: /tmp/tmp.liVmRyEH3P/pl_PL 574s run-with-locales: pl_PL.ISO-8859-2... 574s Character set: ISO-8859-2 574s Source file: pl_PL 574s Output: /tmp/tmp.liVmRyEH3P/pl_PL.iso88592 575s run-with-locales: pl_PL.utf8... 575s Character set: UTF-8 575s Source file: pl_PL 575s Output: /tmp/tmp.liVmRyEH3P/pl_PL.utf8 577s run-with-locales: ru_RU=ISO-8859-5... 577s Character set: ISO-8859-5 577s Source file: ru_RU 577s Output: /tmp/tmp.liVmRyEH3P/ru_RU 577s run-with-locales: ru_RU.utf8... 577s Character set: UTF-8 577s Source file: ru_RU 577s Output: /tmp/tmp.liVmRyEH3P/ru_RU.utf8 579s run-with-locales: sr_RS=UTF-8... 579s Character set: UTF-8 579s Source file: sr_RS 579s Output: /tmp/tmp.liVmRyEH3P/sr_RS 581s run-with-locales: sr_RS@latin=UTF-8... 581s Character set: UTF-8 581s Source file: sr_RS@latin 581s Output: /tmp/tmp.liVmRyEH3P/sr_RS@latin 583s run-with-locales: sv_SE=ISO-8859-1... 583s Character set: ISO-8859-1 583s Source file: sv_SE 583s Output: /tmp/tmp.liVmRyEH3P/sv_SE 583s run-with-locales: sv_SE.utf8... 583s Character set: UTF-8 583s Source file: sv_SE 583s Output: /tmp/tmp.liVmRyEH3P/sv_SE.utf8 585s run-with-locales: tr_TR=ISO-8859-9... 585s Character set: ISO-8859-9 585s Source file: tr_TR 585s Output: /tmp/tmp.liVmRyEH3P/tr_TR 585s run-with-locales: tr_TR.utf8... 585s Character set: UTF-8 585s Source file: tr_TR 585s Output: /tmp/tmp.liVmRyEH3P/tr_TR.utf8 587s run-with-locales: tt_RU=UTF-8... 587s Character set: UTF-8 587s Source file: tt_RU 587s Output: /tmp/tmp.liVmRyEH3P/tt_RU 589s run-with-locales: tt_RU.utf8... 589s Character set: UTF-8 589s Source file: tt_RU 589s Output: /tmp/tmp.liVmRyEH3P/tt_RU.utf8 591s run-with-locales: tt_RU@iqtelif=UTF-8... 591s Character set: UTF-8 591s Source file: tt_RU@iqtelif 591s Output: /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif 593s /tmp/tmp.liVmRyEH3P 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/tt_RU.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/en_GB.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/fr_FR.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/lt_LT.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_NAME 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_TIME 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/sr_RS@latin/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/ru_RU 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_NAME 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_TIME 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/ru_RU/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/tt_RU 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_NAME 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_TIME 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/tt_RU/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/es_ES.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/tr_TR 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_NAME 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_TIME 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/tr_TR/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/pl_PL 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_NAME 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_TIME 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/pl_PL/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/en_US.utf8 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/en_US.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_NAME 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_TIME 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/tt_RU@iqtelif/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/fa_IR.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_NAME 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_TIME 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/pl_PL.iso88592/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/en_GB 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_NAME 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_TIME 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/en_GB/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/hr_HR.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/el_GR.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/ja_JP.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/ru_RU.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/tr_TR.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_PAPER 593s /tmp/tmp.l1..323 593s # Running test: glib/cxx-2b.test 593s ok - glib/cxx-2b.test 593s # Running test: glib/gapplication.test 593s iVmRyEH3P/de_DE@euro.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/de_DE@euro.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/en_US 593s /tmp/tmp.liVmRyEH3P/en_US/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/en_US/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/en_US/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_US/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/en_US/LC_NAME 593s /tmp/tmp.liVmRyEH3P/en_US/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/en_US/LC_TIME 593s /tmp/tmp.liVmRyEH3P/en_US/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/en_US/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/en_US/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/en_US/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/en_US/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/en_US/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/de_DE.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/sv_SE.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_NAME 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_TIME 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/pl_PL.utf8/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/sr_RS 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_NAME 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_TIME 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/sr_RS/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/sv_SE 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_NAME 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_TIME 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/sv_SE/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/de_DE 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_NAME 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_TIME 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/de_DE/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/fa_IR 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_NAME 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_TIME 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/fa_IR/LC_MEASUREMENT 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_COLLATE 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_CTYPE 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_NAME 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_NUMERIC 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_TIME 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_TELEPHONE 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_ADDRESS 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_PAPER 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_IDENTIFICATION 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_MONETARY 593s /tmp/tmp.liVmRyEH3P/ja_JP.eucjp/LC_MEASUREMENT 593s TAP version 14 593s # random seed: R02Se758149768544ce651bd400511ef233a 593s 1..2 593s # Start of gtask tests 593s # 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. 593s ok 1 /gtask/name 593s # Start of name tests 593s # 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. 593s ok 2 /gtask/name/macro-wrapper 593s # End of name tests 593s # End of gtask tests 593s TAP version 14 593s # random seed: R02S1127cae6e30b84aebc534c6202e0ee86 593s 1..24 593s # Start of gapplication tests 593s ok 1 /gapplication/no-dbus 593s ok 2 /gapplication/no-appid 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 3 /gapplication/properties 593s ok 4 /gapplication/app-id 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 5 /gapplication/quit 593s ok 6 /gapplication/registered 593s ok 7 /gapplication/local-actions 593s ok 8 /gapplication/local-command-line 593s ok 9 /gapplication/resource-path 593s ok 10 /gapplication/test-help 593s ok 11 /gapplication/command-line-done 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 12 /gapplication/test-busy 593s ok 13 /gapplication/test-handle-local-options1 593s ok 14 /gapplication/test-handle-local-options2 593s ok 15 /gapplication/test-handle-local-options3 593s ok 16 /gapplication/api 593s ok 17 /gapplication/version 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # launching subprocess 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 18 /gapplication/replace 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # launching subprocess 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 19 /gapplication/no-replace 593s # slow test /gapplication/no-replace executed in 0.51 secs 593s # Start of dbus tests 593s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # Message 0 593s # Message 1 593s # Message 2 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 20 /gapplication/dbus/activate 593s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # Message 0 593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 593s # Message 1 593s # Message 2 593s # Message 3 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 21 /gapplication/dbus/open 593s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # Message 0 593s # Message 1 593s # Message 2 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 22 /gapplication/dbus/command-line 593s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 23 /gapplication/dbus/command-line-done 593s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # Message 0 593s # Message 1 593s # Message 2 593s # Message 3 593s # Message 4 593s # Message 5 593s # Message 6 593s # Message 7 593s # Message 8 593s # Message 9 593s # Message 10 593s # Message 11 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 24 /gapplication/dbus/activate-action 593s # End of dbus tests 593s # End of gapplication tests 593s ok - glib/gapplication.test 593s # Running test: glib/relation.test 593s TAP version 14 593s # random seed: R02S243830af1edaf2047cf39adddba31b55 593s 1..1 593s # Start of glib tests 593s ok 1 /glib/relation 593s # End of glib tests 593s ok - glib/relation.test 593s # Running test: glib/io-channel-basic.test 593s TAP version 14 593s # random seed: R02S4f5fb687e8a35e53195503f2824531c4 593s 1..1 593s # Start of gio tests 593s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 593s # random seed: R02Sd8d783267174613d869ae9d7ca83d35f 593s # GLib-DEBUG: io-channel-basic: child writing 8+2585 bytes to 6 593s # GLib-DEBUG: io-channel-basic: ...from 5: IN 593s # GLib-DEBUG: io-channel-basic: ...from 5: 2585 bytes 593s # GLib-DEBUG: io-channel-basic: ...from 5: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4505 bytes to 6 594s # GLib-DEBUG: io-channel-basic: ...from 5: IN 594s # GLib-DEBUG: io-channel-basic: ...from 5: 4505 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 5: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+2272 bytes to 6 594s # GLib-DEBUG: io-channel-basic: ...from 5: IN 594s # GLib-DEBUG: io-channel-basic: ...from 5: 2272 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 5: OK 594s # GLib-DEBUG: io-channel-basic: child writing 8+4887 bytes to 6 594s # GLib-DEBUG: io-channel-basic: ...from 5: IN 594s # GLib-DEBUG: io-channel-basic: ...from 5: 4887 bytes 594s # GLib-DEBUG: io-channel-basic: ...from 5: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+4078 bytes to 6 595s # GLib-DEBUG: io-channel-basic: ...from 5: IN 595s # GLib-DEBUG: io-channel-basic: ...from 5: 4078 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 5: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+4394 bytes to 6 595s # GLib-DEBUG: io-channel-basic: ...from 5: IN 595s # GLib-DEBUG: io-channel-basic: ...from 5: 4394 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 5: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+3840 bytes to 6 595s # GLib-DEBUG: io-channel-basic: ...from 5: IN 595s # GLib-DEBUG: io-channel-basic: ...from 5: 3840 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 5: OK 595s # GLib-DEBUG: io-channel-basic: child writing 8+864 bytes to 6 595s # GLib-DEBUG: io-channel-basic: ...from 5: IN 595s # GLib-DEBUG: io-channel-basic: ...from 5: 864 bytes 595s # GLib-DEBUG: io-channel-basic: ...from 5: OK 596s # GLib-DEBUG: io-channel-basic: child writing 8+1714 bytes to 6 596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 596s # GLib-DEBUG: io-channel-basic: ...from 5: 1714 bytes 596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 596s # GLib-DEBUG: io-channel-basic: child writing 8+1202 bytes to 6 596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 596s # GLib-DEBUG: io-channel-basic: ...from 5: 1202 bytes 596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 596s # GLib-DEBUG: io-channel-basic: child writing 8+3207 bytes to 6 596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 596s # GLib-DEBUG: io-channel-basic: ...from 5: 3207 bytes 596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 596s # GLib-DEBUG: io-channel-basic: child writing 8+290 bytes to 6 596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 596s # GLib-DEBUG: io-channel-basic: ...from 5: 290 bytes 596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 597s # GLib-DEBUG: io-channel-basic: child writing 8+4569 bytes to 6 597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 597s # GLib-DEBUG: io-channel-basic: ...from 5: 4569 bytes 597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 597s # GLib-DEBUG: io-channel-basic: child writing 8+1851 bytes to 6 597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 597s # GLib-DEBUG: io-channel-basic: ...from 5: 1851 bytes 597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 597s # GLib-DEBUG: io-channel-basic: child writing 8+3941 bytes to 6 597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 597s # GLib-DEBUG: io-channel-basic: ...from 5: 3941 bytes 597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 597s # GLib-DEBUG: io-channel-basic: child writing 8+3258 bytes to 6 597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 597s # GLib-DEBUG: io-channel-basic: ...from 5: 3258 bytes 597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 598s # GLib-DEBUG: io-channel-basic: child writing 8+4474 bytes to 6 598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 598s # GLib-DEBUG: io-channel-basic: ...from 5: 4474 bytes 598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 598s # Executing: glib/io-channel-basic.test 598s # GLib-DEBUG: io-channel-basic: child writing 8+2725 bytes to 6 598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 598s # GLib-DEBUG: io-channel-basic: ...from 5: 2725 bytes 598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 598s # GLib-DEBUG: io-channel-basic: child writing 8+1663 bytes to 6 598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 598s # GLib-DEBUG: io-channel-basic: ...from 5: 1663 bytes 598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 598s # GLib-DEBUG: io-channel-basic: child writing 8+3788 bytes to 6 598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 598s # GLib-DEBUG: io-channel-basic: ...from 5: 3788 bytes 598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 599s # GLib-DEBUG: io-channel-basic: child writing 8+1039 bytes to 6 599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 599s # GLib-DEBUG: io-channel-basic: ...from 5: 1039 bytes 599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 599s # GLib-DEBUG: io-channel-basic: child writing 8+1111 bytes to 6 599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 599s # GLib-DEBUG: io-channel-basic: ...from 5: 1111 bytes 599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 599s # GLib-DEBUG: io-channel-basic: child writing 8+3075 bytes to 6 599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 599s # GLib-DEBUG: io-channel-basic: ...from 5: 3075 bytes 599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+626 bytes to 6 600s # GLib-DEBUG: io-channel-basic: ...from 5: IN 600s # GLib-DEBUG: io-channel-basic: ...from 5: 626 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 5: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+2577 bytes to 6 600s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 600s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 600s # GLib-DEBUG: io-channel-basic: ...from 5: 2577 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 5: OK 600s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 600s # random seed: R02S9193743010157eaec19b9b8bfaaf7297 600s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 600s # random seed: R02S44e962d4bb9bda3e5304561ced16fb22 600s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 600s # random seed: R02S924ab3ded6890ca7a3f51f2b73b96d16 600s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 600s # random seed: R02S0b4ff70ee40b28b91fc97935abb5ed80 600s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 600s # random seed: R02S4e50e1a66ccacf4bf3ac9a200a530780 600s # GLib-DEBUG: io-channel-basic: child writing 8+1324 bytes to 13 600s # GLib-DEBUG: io-channel-basic: ...from 12: IN 600s # GLib-DEBUG: io-channel-basic: ...from 12: 1324 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 12: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+3852 bytes to 17 600s # GLib-DEBUG: io-channel-basic: ...from 16: IN 600s # GLib-DEBUG: io-channel-basic: ...from 16: 3852 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 16: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+3514 bytes to 11 600s # GLib-DEBUG: io-channel-basic: ...from 10: IN 600s # GLib-DEBUG: io-channel-basic: ...from 10: 3514 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 10: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+1025 bytes to 15 600s # GLib-DEBUG: io-channel-basic: ...from 14: IN 600s # GLib-DEBUG: io-channel-basic: ...from 14: 1025 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 14: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+1457 bytes to 9 600s # GLib-DEBUG: io-channel-basic: ...from 8: IN 600s # GLib-DEBUG: io-channel-basic: ...from 8: 1457 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 8: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+3465 bytes to 13 600s # GLib-DEBUG: io-channel-basic: ...from 12: IN 600s # GLib-DEBUG: io-channel-basic: ...from 12: 3465 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 12: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+4686 bytes to 17 600s # GLib-DEBUG: io-channel-basic: ...from 16: IN 600s # GLib-DEBUG: io-channel-basic: ...from 16: 4686 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 16: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+4089 bytes to 15 600s # GLib-DEBUG: io-channel-basic: ...from 14: IN 600s # GLib-DEBUG: io-channel-basic: ...from 14: 4089 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 14: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+2991 bytes to 9 600s # GLib-DEBUG: io-channel-basic: ...from 8: IN 600s # GLib-DEBUG: io-channel-basic: ...from 8: 2991 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 8: OK 600s # GLib-DEBUG: io-channel-basic: child writing 8+1555 bytes to 11 600s # GLib-DEBUG: io-channel-basic: ...from 10: IN 600s # GLib-DEBUG: io-channel-basic: ...from 10: 1555 bytes 600s # GLib-DEBUG: io-channel-basic: ...from 10: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2162 bytes to 13 601s # GLib-DEBUG: io-channel-basic: ...from 12: IN 601s # GLib-DEBUG: io-channel-basic: ...from 12: 2162 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 12: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+4113 bytes to 17 601s # GLib-DEBUG: io-channel-basic: ...from 16: IN 601s # GLib-DEBUG: io-channel-basic: ...from 16: 4113 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 16: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2314 bytes to 15 601s # GLib-DEBUG: io-channel-basic: ...from 14: IN 601s # GLib-DEBUG: io-channel-basic: ...from 14: 2314 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 14: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+534 bytes to 11 601s # GLib-DEBUG: io-channel-basic: ...from 10: IN 601s # GLib-DEBUG: io-channel-basic: ...from 10: 534 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 10: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2264 bytes to 9 601s # GLib-DEBUG: io-channel-basic: ...from 8: IN 601s # GLib-DEBUG: io-channel-basic: ...from 8: 2264 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 8: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+3052 bytes to 13 601s # GLib-DEBUG: io-channel-basic: ...from 12: IN 601s # GLib-DEBUG: io-channel-basic: ...from 12: 3052 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 12: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+4185 bytes to 15 601s # GLib-DEBUG: io-channel-basic: ...from 14: IN 601s # GLib-DEBUG: io-channel-basic: ...from 14: 4185 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 14: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+709 bytes to 17 601s # GLib-DEBUG: io-channel-basic: ...from 16: IN 601s # GLib-DEBUG: io-channel-basic: ...from 16: 709 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 16: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+83 bytes to 11 601s # GLib-DEBUG: io-channel-basic: ...from 10: IN 601s # GLib-DEBUG: io-channel-basic: ...from 10: 83 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 10: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2061 bytes to 9 601s # GLib-DEBUG: io-channel-basic: ...from 8: IN 601s # GLib-DEBUG: io-channel-basic: ...from 8: 2061 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 8: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+1282 bytes to 13 601s # GLib-DEBUG: io-channel-basic: ...from 12: IN 601s # GLib-DEBUG: io-channel-basic: ...from 12: 1282 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 12: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2073 bytes to 15 601s # GLib-DEBUG: io-channel-basic: ...from 14: IN 601s # GLib-DEBUG: io-channel-basic: ...from 14: 2073 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 14: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2537 bytes to 17 601s # GLib-DEBUG: io-channel-basic: ...from 16: IN 601s # GLib-DEBUG: io-channel-basic: ...from 16: 2537 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 16: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+4050 bytes to 11 601s # GLib-DEBUG: io-channel-basic: ...from 10: IN 601s # GLib-DEBUG: io-channel-basic: ...from 10: 4050 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 10: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+4999 bytes to 9 601s # GLib-DEBUG: io-channel-basic: ...from 8: IN 601s # GLib-DEBUG: io-channel-basic: ...from 8: 4999 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 8: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+198 bytes to 15 601s # GLib-DEBUG: io-channel-basic: ...from 14: IN 601s # GLib-DEBUG: io-channel-basic: ...from 14: 198 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 14: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2591 bytes to 17 601s # GLib-DEBUG: io-channel-basic: ...from 16: IN 601s # GLib-DEBUG: io-channel-basic: ...from 16: 2591 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 16: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+2472 bytes to 13 601s # GLib-DEBUG: io-channel-basic: ...from 12: IN 601s # GLib-DEBUG: io-channel-basic: ...from 12: 2472 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 12: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+3296 bytes to 9 601s # GLib-DEBUG: io-channel-basic: ...from 8: IN 601s # GLib-DEBUG: io-channel-basic: ...from 8: 3296 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 8: OK 601s # GLib-DEBUG: io-channel-basic: child writing 8+4995 bytes to 11 601s # GLib-DEBUG: io-channel-basic: ...from 10: IN 601s # GLib-DEBUG: io-channel-basic: ...from 10: 4995 bytes 601s # GLib-DEBUG: io-channel-basic: ...from 10: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3270 bytes to 15 602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 602s # GLib-DEBUG: io-channel-basic: ...from 14: 3270 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3148 bytes to 13 602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 602s # GLib-DEBUG: io-channel-basic: ...from 12: 3148 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+2702 bytes to 17 602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 602s # GLib-DEBUG: io-channel-basic: ...from 16: 2702 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+451 bytes to 9 602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 602s # GLib-DEBUG: io-channel-basic: ...from 8: 451 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+160 bytes to 11 602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 602s # GLib-DEBUG: io-channel-basic: ...from 10: 160 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+4884 bytes to 13 602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 602s # GLib-DEBUG: io-channel-basic: ...from 12: 4884 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+4240 bytes to 15 602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 602s # GLib-DEBUG: io-channel-basic: ...from 14: 4240 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+869 bytes to 17 602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 602s # GLib-DEBUG: io-channel-basic: ...from 16: 869 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3680 bytes to 9 602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 602s # GLib-DEBUG: io-channel-basic: ...from 8: 3680 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+4605 bytes to 11 602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 602s # GLib-DEBUG: io-channel-basic: ...from 10: 4605 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+2998 bytes to 15 602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 602s # GLib-DEBUG: io-channel-basic: ...from 14: 2998 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+2416 bytes to 13 602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 602s # GLib-DEBUG: io-channel-basic: ...from 12: 2416 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+4648 bytes to 17 602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 602s # GLib-DEBUG: io-channel-basic: ...from 16: 4648 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3434 bytes to 11 602s # GLib-DEBUG: io-channel-basic: child writing 8+1498 bytes to 9 602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 602s # GLib-DEBUG: io-channel-basic: ...from 8: 1498 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 602s # GLib-DEBUG: io-channel-basic: ...from 10: 3434 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 15 602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 602s # GLib-DEBUG: io-channel-basic: ...from 14: 3537 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+1287 bytes to 13 602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 602s # GLib-DEBUG: io-channel-basic: ...from 12: 1287 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+3342 bytes to 17 602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 602s # GLib-DEBUG: io-channel-basic: ...from 16: 3342 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+1895 bytes to 9 602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 602s # GLib-DEBUG: io-channel-basic: ...from 8: 1895 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 602s # GLib-DEBUG: io-channel-basic: child writing 8+4562 bytes to 11 602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 602s # GLib-DEBUG: io-channel-basic: ...from 10: 4562 bytes 602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 15 603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 603s # GLib-DEBUG: io-channel-basic: ...from 14: 16 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2279 bytes to 13 603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 603s # GLib-DEBUG: io-channel-basic: ...from 12: 2279 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2632 bytes to 17 603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 603s # GLib-DEBUG: io-channel-basic: ...from 16: 2632 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+876 bytes to 9 603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 603s # GLib-DEBUG: io-channel-basic: ...from 8: 876 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+689 bytes to 11 603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 603s # GLib-DEBUG: io-channel-basic: ...from 10: 689 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 603s # Executing: glib/io-channel-basic.test 603s # GLib-DEBUG: io-channel-basic: child writing 8+3836 bytes to 15 603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 603s # GLib-DEBUG: io-channel-basic: ...from 14: 3836 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+3342 bytes to 13 603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 603s # GLib-DEBUG: io-channel-basic: ...from 12: 3342 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2680 bytes to 17 603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 603s # GLib-DEBUG: io-channel-basic: ...from 16: 2680 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2191 bytes to 9 603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 603s # GLib-DEBUG: io-channel-basic: ...from 8: 2191 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+3189 bytes to 11 603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 603s # GLib-DEBUG: io-channel-basic: ...from 10: 3189 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2186 bytes to 15 603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 603s # GLib-DEBUG: io-channel-basic: ...from 14: 2186 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+1292 bytes to 13 603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 603s # GLib-DEBUG: io-channel-basic: ...from 12: 1292 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+199 bytes to 17 603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 603s # GLib-DEBUG: io-channel-basic: ...from 16: 199 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+3318 bytes to 11 603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 603s # GLib-DEBUG: io-channel-basic: ...from 10: 3318 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+413 bytes to 9 603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 603s # GLib-DEBUG: io-channel-basic: ...from 8: 413 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+3839 bytes to 15 603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 603s # GLib-DEBUG: io-channel-basic: ...from 14: 3839 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+2645 bytes to 13 603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 603s # GLib-DEBUG: io-channel-basic: ...from 12: 2645 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+4316 bytes to 17 603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 603s # GLib-DEBUG: io-channel-basic: ...from 16: 4316 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 603s # GLib-DEBUG: io-channel-basic: child writing 8+4897 bytes to 11 603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 603s # GLib-DEBUG: io-channel-basic: ...from 10: 4897 bytes 603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+3322 bytes to 9 604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 604s # GLib-DEBUG: io-channel-basic: ...from 8: 3322 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+4983 bytes to 15 604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 604s # GLib-DEBUG: io-channel-basic: ...from 14: 4983 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+692 bytes to 13 604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 604s # GLib-DEBUG: io-channel-basic: ...from 12: 692 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+2062 bytes to 17 604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 604s # GLib-DEBUG: io-channel-basic: ...from 16: 2062 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+4062 bytes to 11 604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 604s # GLib-DEBUG: io-channel-basic: ...from 10: 4062 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+2369 bytes to 9 604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 604s # GLib-DEBUG: io-channel-basic: ...from 8: 2369 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+1028 bytes to 15 604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 604s # GLib-DEBUG: io-channel-basic: ...from 14: 1028 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+4051 bytes to 13 604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 604s # GLib-DEBUG: io-channel-basic: ...from 12: 4051 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 17 604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 604s # GLib-DEBUG: io-channel-basic: ...from 16: 3597 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+852 bytes to 9 604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 604s # GLib-DEBUG: io-channel-basic: ...from 8: 852 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+1279 bytes to 11 604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 604s # GLib-DEBUG: io-channel-basic: ...from 10: 1279 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+2891 bytes to 15 604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 604s # GLib-DEBUG: io-channel-basic: ...from 14: 2891 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+1034 bytes to 13 604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 604s # GLib-DEBUG: io-channel-basic: ...from 12: 1034 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+1693 bytes to 17 604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 604s # GLib-DEBUG: io-channel-basic: ...from 16: 1693 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+3125 bytes to 9 604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 604s # GLib-DEBUG: io-channel-basic: ...from 8: 3125 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+3481 bytes to 11 604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 604s # GLib-DEBUG: io-channel-basic: ...from 10: 3481 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+120 bytes to 15 604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 604s # GLib-DEBUG: io-channel-basic: ...from 14: 120 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 604s # GLib-DEBUG: io-channel-basic: child writing 8+4578 bytes to 13 604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 604s # GLib-DEBUG: io-channel-basic: ...from 12: 4578 bytes 604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+352 bytes to 17 605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 605s # GLib-DEBUG: io-channel-basic: ...from 16: 352 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+4942 bytes to 9 605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 605s # GLib-DEBUG: io-channel-basic: ...from 8: 4942 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+4063 bytes to 11 605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 605s # GLib-DEBUG: io-channel-basic: ...from 10: 4063 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+1587 bytes to 13 605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 605s # GLib-DEBUG: io-channel-basic: ...from 12: 1587 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+1631 bytes to 15 605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 605s # GLib-DEBUG: io-channel-basic: ...from 14: 1631 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+1351 bytes to 17 605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 605s # GLib-DEBUG: io-channel-basic: ...from 16: 1351 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+3850 bytes to 9 605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 605s # GLib-DEBUG: io-channel-basic: ...from 8: 3850 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+517 bytes to 11 605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 605s # GLib-DEBUG: io-channel-basic: ...from 10: 517 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+3207 bytes to 13 605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 605s # GLib-DEBUG: io-channel-basic: ...from 12: 3207 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+4829 bytes to 15 605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 605s # GLib-DEBUG: io-channel-basic: ...from 14: 4829 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+2627 bytes to 17 605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 605s # GLib-DEBUG: io-channel-basic: ...from 16: 2627 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+1973 bytes to 9 605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 605s # GLib-DEBUG: io-channel-basic: ...from 8: 1973 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+4589 bytes to 11 605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 605s # GLib-DEBUG: io-channel-basic: ...from 10: 4589 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+3630 bytes to 13 605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 605s # GLib-DEBUG: io-channel-basic: ...from 12: 3630 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+2161 bytes to 15 605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 605s # GLib-DEBUG: io-channel-basic: ...from 14: 2161 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 17 605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 605s # GLib-DEBUG: io-channel-basic: ...from 16: 2944 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+4290 bytes to 9 605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 605s # GLib-DEBUG: io-channel-basic: ...from 8: 4290 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 605s # GLib-DEBUG: io-channel-basic: child writing 8+2048 bytes to 11 605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 605s # GLib-DEBUG: io-channel-basic: ...from 10: 2048 bytes 605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+703 bytes to 13 606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 606s # GLib-DEBUG: io-channel-basic: ...from 12: 703 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+524 bytes to 15 606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 606s # GLib-DEBUG: io-channel-basic: ...from 14: 524 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+3215 bytes to 17 606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 606s # GLib-DEBUG: io-channel-basic: ...from 16: 3215 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+941 bytes to 9 606s # GLib-DEBUG: io-channel-basic: ...from 8: IN 606s # GLib-DEBUG: io-channel-basic: ...from 8: 941 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+3733 bytes to 11 606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 606s # GLib-DEBUG: io-channel-basic: ...from 10: 3733 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+1498 bytes to 13 606s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 606s # GLib-DEBUG: io-channel-basic: ...from 12: 1498 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 606s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 606s # GLib-DEBUG: io-channel-basic: child writing 8+3466 bytes to 15 606s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 606s # GLib-DEBUG: io-channel-basic: ...from 14: 3466 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 606s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 606s # GLib-DEBUG: io-channel-basic: child writing 8+2726 bytes to 17 606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 606s # GLib-DEBUG: io-channel-basic: ...from 16: 2726 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+3593 bytes to 9 606s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 606s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 606s # GLib-DEBUG: io-channel-basic: ...from 8: 3593 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+4728 bytes to 11 606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 606s # GLib-DEBUG: io-channel-basic: ...from 10: 4728 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+3058 bytes to 17 606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 606s # GLib-DEBUG: io-channel-basic: ...from 16: 3058 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+3556 bytes to 11 606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 606s # GLib-DEBUG: io-channel-basic: ...from 10: 3556 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+1991 bytes to 17 606s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 606s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 606s # GLib-DEBUG: io-channel-basic: ...from 16: 1991 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 606s # GLib-DEBUG: io-channel-basic: child writing 8+1638 bytes to 11 606s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 606s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 606s # GLib-DEBUG: io-channel-basic: ...from 10: 1638 bytes 606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 606s ok 1 /gio/io-basics 606s # slow test /gio/io-basics executed in 13.17 secs 606s # End of gio tests 606s ok - glib/io-channel-basic.test 606s # Running test: glib/gdbus-peer-object-manager.test 606s TAP version 14 606s # random seed: R02S625f4e7eaa28d5201bae533c3a869cee 606s 1..2 606s # Start of gdbus tests 606s # Start of peer-object-manager tests 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/normal/.dirs/runtime 606s ok 1 /gdbus/peer-object-manager/normal 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_5QGB62/gdbus/peer-object-manager/root/.dirs/runtime 606s ok 2 /gdbus/peer-object-manager/root 606s # End of peer-object-manager tests 606s # End of gdbus tests 606s ok - glib/gdbus-peer-object-manager.test 606s # Running test: glib/tls-interaction.test 606s TAP version 14 606s # random seed: R02S647a09925981c3a8cf0d4143a5a9766f 606s 1..42 606s # Start of tls-interaction tests 606s # Start of ask-password tests 606s # Start of invoke-with-loop tests 606s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 606s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 606s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 606s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 606s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 606s # End of invoke-with-loop tests 606s # Start of invoke-without-loop tests 606s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 606s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 606s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 606s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 606s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 606s # End of invoke-without-loop tests 606s # Start of invoke-in-loop tests 606s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 606s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 606s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 606s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 606s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 606s # End of invoke-in-loop tests 606s # Start of sync tests 606s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 606s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 606s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 606s # End of sync tests 606s # Start of async tests 606s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 606s ok 20 /tls-interaction/ask-password/async/async-implementation-success 606s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 606s # End of async tests 606s # End of ask-password tests 606s # Start of request-certificate tests 606s # Start of invoke-with-loop tests 606s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 606s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 606s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 606s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 606s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 606s ok - glib/tls-interaction.test 606s # Running test: glib/once.test 606s # End of invoke-with-loop tests 606s # Start of invoke-without-loop tests 606s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 606s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 606s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 606s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 606s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 606s # End of invoke-without-loop tests 606s # Start of invoke-in-loop tests 606s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 606s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 606s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 606s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 606s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 606s # End of invoke-in-loop tests 606s # Start of sync tests 606s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 606s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 606s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 606s # End of sync tests 606s # Start of async tests 606s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 606s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 606s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 606s # End of async tests 606s # End of request-certificate tests 606s # End of tls-interaction tests 606s TAP version 14 606s # random seed: R02Sf17e588a857fef9bb574dc0f6498f5d1 606s 1..5 606s # Start of once tests 606s # /once/single-threaded summary: Test g_once() usage from a single thread 606s ok 1 /once/single-threaded 606s # /once/multi-threaded summary: Test g_once() usage from multiple threads 606s ok 2 /once/multi-threaded 606s # End of once tests 606s # Start of once-init tests 606s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 606s ok - glib/once.test 606s # Running test: glib/boxed.test 606s ok 3 /once-init/single-threaded 606s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 606s ok 4 /once-init/multi-threaded 606s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 606s ok 5 /once-init/string 606s # End of once-init tests 606s ok - glib/boxed.test 606s # Running test: glib/notify-init.test 606s TAP version 14 606s # random seed: R02Sbe9e8e53570ae7311c4c4bb7a09e73f4 606s 1..27 606s # Start of boxed tests 606s ok 1 /boxed/define 606s ok 2 /boxed/ownership 606s ok 3 /boxed/closure 606s ok 4 /boxed/date 606s ok 5 /boxed/value 606s ok 6 /boxed/string 606s ok 7 /boxed/hashtable 606s ok 8 /boxed/array 606s ok 9 /boxed/ptrarray 606s ok 10 /boxed/regex 606s ok 11 /boxed/varianttype 606s ok 12 /boxed/error 606s ok 13 /boxed/datetime 606s ok 14 /boxed/matchinfo 606s ok 15 /boxed/keyfile 606s ok 16 /boxed/mainloop 606s ok 17 /boxed/maincontext 606s ok 18 /boxed/source 606s ok 19 /boxed/variantbuilder 606s ok 20 /boxed/timezone 606s ok 21 /boxed/pollfd 606s ok 22 /boxed/markup 606s ok 23 /boxed/thread 606s ok 24 /boxed/checksum 606s ok 25 /boxed/tree 606s ok 26 /boxed/patternspec 606s ok 27 /boxed/rand 606s # End of boxed tests 606s TAP version 14 606s # random seed: R02Sae99b92a5b1620b2f669b52ce7800e7c 606s 1..1 606s # Start of properties tests 606s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 606s ok 1 /properties/notify-in-init 606s # End of properties tests 606s ok - glib/notify-init.test 606s # Running test: glib/gdbus-introspection.test 606s TAP version 14 606s # random seed: R02S19a4bdba6603a23987ac0701d2cef25e 606s 1..4 606s # Start of gdbus tests 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-parser/.dirs/runtime 606s ok 1 /gdbus/introspection-parser 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-generate/.dirs/runtime 606s ok 2 /gdbus/introspection-generate 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-default-direction/.dirs/runtime 606s ok 3 /gdbus/introspection-default-direction 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ANJ352/gdbus/introspection-extra-data/.dirs/runtime 606s ok 4 /gdbus/introspection-extra-data 606s # End of gdbus tests 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s ok - glib/gdbus-introspection.test 606s # Running test: glib/scannerapi.test 606s ok - glib/scannerapi.test 606s # Running test: glib/pathbuf.test 606s TAP version 14 606s # random seed: R02Se3d068e4fd65faf9a2201b870b387e39 606s 1..4 606s # Start of scanner tests 606s ok 1 /scanner/warn 606s ok 2 /scanner/error 606s ok 3 /scanner/symbols 606s ok 4 /scanner/tokens 606s # End of scanner tests 606s TAP version 14 606s # random seed: R02S3e8e6f94d6da11bba810f55d74efd6ce 606s 1..3 606s # Start of pathbuf tests 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D5J452/pathbuf/init/.dirs/runtime 606s # Initializing empty path buf 606s # Initializing with empty path 606s # Initializing with full path 606s # Initializing with no path 606s # Allocating GPathBuf on the heap 606s ok 1 /pathbuf/init 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/home 606s ok - glib/pathbuf.test 606s # Running test: glib/private.test 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D5J452/pathbuf/push-pop/.dirs/runtime 606s # Pushing relative path component 606s # Pushing absolute path component 606s # Popping a path component 606s # Can't pop the last element of a path buffer 606s ok 2 /pathbuf/push-pop 606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/home 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/cache 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/system-config2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/config 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/system-data2 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/data 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/state 606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D5J452/pathbuf/filename-extension/.dirs/runtime 606s ok 3 /pathbuf/filename-extension 606s # End of pathbuf tests 606s TAP version 14 606s # random seed: R02S1286f57db1755642c5577137829c0192 606s 1..8 606s # Start of thread tests 606s ok 1 /thread/private1 608s ok 2 /thread/private2 608s # slow test /thread/private2 executed in 1.08 secs 608s ok 3 /thread/private3 608s ok 4 /thread/staticprivate1 608s ok 5 /thread/staticprivate2 608s ok 6 /thread/staticprivate3 608s # Executing: glib/private.test 609s ok 7 /thread/staticprivate4 609s # slow test /thread/staticprivate4 executed in 1.08 secs 609s ok 8 /thread/staticprivate5 609s # End of thread tests 609s ok - glib/private.test 609s # Running test: glib/cxx.test 609s TAP version 14 609s # random seed: R02Sfd32bed6a4fdcda37631a0251083076d 609s 1..2 609s # Start of gtask tests 609s # 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. 609s ok 1 /gtask/name 609s # Start of name tests 609s # 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. 609s ok 2 /gtask/name/macro-wrapper 609s # End of name tests 609s # End of gtask tests 609s TAP version 14 609s ok - glib/cxx.test 609s # Running test: glib/singleton.test 609s ok - glib/singleton.test 609s # Running test: glib/atomic-c-99.test 609s # random seed: R02S0e4501507e7b6792bd148193173673d9 609s 1..2 609s # Start of gobject tests 609s # Start of singleton tests 609s ok 1 /gobject/singleton/construction 609s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 609s ok 2 /gobject/singleton/construct-property 609s # End of singleton tests 609s # End of gobject tests 609s TAP version 14 609s # random seed: R02Sefd9132006659ea7b1a1b1a1c67d7eeb 609s 1..2 609s # Start of atomic tests 609s ok 1 /atomic/types 609s ok - glib/atomic-c-99.test 609s # Running test: glib/slist.test 609s ok 2 /atomic/threaded 609s # End of atomic tests 609s ok - glib/slist.test 609s TAP version 14 609s # random seed: R02Sce80a71517e8da3e8426c194cd0d06e8 609s 1..14 609s # Start of slist tests 609s ok 1 /slist/sort 609s ok 2 /slist/sort-with-data 609s ok 3 /slist/insert-sorted 609s ok 4 /slist/insert-sorted-with-data 609s ok 5 /slist/reverse 609s ok 6 /slist/nth 609s ok 7 /slist/remove 609s ok 8 /slist/remove-all 609s ok 9 /slist/insert 609s ok 10 /slist/position 609s ok 11 /slist/concat 609s ok 12 /slist/copy 609s # Start of sort tests 609s ok 13 /slist/sort/stable 609s # End of sort tests 609s # Start of copy tests 609s ok 14 /slist/copy/deep 609s # End of copy tests 609s # End of slist tests 609s # Running test: glib/refstring.test 609s TAP version 14 609s # random seed: R02S4e4428299ee5a8ce9a28e4c3b4327151 609s 1..8 609s # Start of refstring tests 609s # s = 'hello, world' (0xc063312133c0) 609s ok 1 /refstring/base 609s ok 2 /refstring/length 609s ok 3 /refstring/length-auto 609s ok 4 /refstring/length-nuls 609s # s = 'hello, world' (0xc06331213260) 609s # p = s = 'hello, world' (0xc06331213260) 609s # releasing p[0xc06331213260] ('hello, world') 609s # p = 'goodbye, world' (0xc063312133c0) 609s # releasing p[0xc063312133c0] ('goodbye, world') 609s # releasing s[0xc06331213260] ('hello, world') 609s ok 5 /refstring/intern 609s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 609s ok 6 /refstring/hash_equal 609s # /refstring/equal summary: Test g_ref_string_equal() standalone 609s ok 7 /refstring/equal 609s ok - glib/refstring.test 609s # Running test: glib/dbus-appinfo.test 609s ok 8 /refstring/intern-thread-safety 609s # slow test /refstring/intern-thread-safety executed in 0.71 secs 609s # End of refstring tests 609s TAP version 14 609s # random seed: R02S89b0e1cde6f874d2aa8cff02f8186476 609s 1..7 609s # Start of appinfo tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/runtime 609s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 609s ok 1 /appinfo/dbusappinfo 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/runtime 609s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Documents 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/config 609s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 609s # fake-document-portal cancelled 609s ok 2 /appinfo/flatpak-doc-export 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/runtime 609s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Documents 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/config 609s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 609s # fake-document-portal cancelled 609s ok 3 /appinfo/flatpak-missing-doc-export 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/runtime 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Desktop 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/config 609s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 609s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 609s # Response emitted 609s # fake-desktop-portal cancelled 609s ok 4 /appinfo/portal-open-file 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/runtime 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Desktop 609s ok - glib/dbus-appinfo.test 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/config 609s # Got open file request for http://example.com 609s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 609s # Response emitted 609s # fake-desktop-portal cancelled 609s ok 5 /appinfo/portal-open-uri 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/runtime 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Desktop 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/config 609s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 609s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio914810475 609s # Response emitted 609s # fake-desktop-portal cancelled 609s ok 6 /appinfo/portal-open-file-async 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/runtime 609s # Acquired a message bus connection 609s # Acquired the name org.freedesktop.portal.Desktop 609s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_3O9252/appinfo/portal-open-uri-async/.dirs/config 609s # Got open file request for http://example.com 609s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio762375220 609s # Response emitted 609s # fake-desktop-portal cancelled 609s ok 7 /appinfo/portal-open-uri-async 609s # End of appinfo tests 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 # Running test: glib/dynamictype.test 609s TAP version 14 609s # random seed: R02Sc96ef1c8528ededcad771e1f56a12963 609s 1..2 609s # Start of gobject tests 609s ok 1 /gobject/dynamic-type 609s # Start of dynamic-type tests 609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 609s ok 2 /gobject/dynamic-type/query 609s # End of dynamic-type tests 609s # End of gobject tests 609s ok - glib/dynamictype.test 609s # Running test: glib/live-g-file.test 609s TAP version 14 609s # random seed: R02S7e4cf6ca828789aad5e88b7da3e384bb 609s 1..13 609s # Start of live-g-file tests 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/prep_clean_structure/.dirs/runtime 609s # Cleaning target testing structure in '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 609s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 609s ok 1 /live-g-file/prep_clean_structure 609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/home 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/cache 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/system-config2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/config 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/system-data2 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/data 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/state 609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/create_structure/.dirs/runtime 609s # 609s # Going to create testing structure in '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 609s # Creating directory 'dir1'... 609s # Creating directory 'dir1/subdir'... 609s # Creating directory 'dir2'... 609s # Creating directory 'dir-target'... 609s # Creating directory 'dir_no-access'... 609s # Creating directory 'dir_no-write'... 609s # Creating file 'target-file'... 609s # Creating file 'normal_file'... 609s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 609s # Creating file 'executable_file'... 609s # Creating file 'private_file'... 609s # Creating file 'normal_file2'... 609s # Creating file 'readonly_file'... 609s # Creating file 'UTF_pr?i?lis? z'... 609s # Creating directory 'dir_pr?i?lis? z'... 609s # Creating symlink 'lost_symlink' --> 'nowhere'... 609s # Creating directory 'dir_hidden'... 609s # Creating file 'dir_hidden/.a-hidden-file'... 609s # Creating file 'dir_hidden/file-in-.hidden1'... 609s # Creating file 'dir_hidden/file-in-.hidden2'... 609s # Creating pattern file... 610s # done. 610s ok 2 /live-g-file/create_structure 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_initial_structure/.dirs/runtime 610s # Testing sample structure in '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 610s # Testing file 'dir1'... 610s # Testing file 'dir1/subdir'... 610s # Testing file 'dir2'... 610s # Testing file 'dir-target'... 610s # Testing file 'dir_no-access'... 610s # Testing file 'dir_no-write'... 610s # Testing file 'target-file'... 610s # Testing file 'normal_file'... 610s # Testing file 'normal_file-symlink'... 610s # Testing file 'executable_file'... 610s # Testing file 'private_file'... 610s # Testing file 'normal_file2'... 610s # Testing file 'readonly_file'... 610s # Testing file 'UTF_pr?i?lis? z'... 610s # Testing file 'dir_pr?i?lis? z'... 610s # Testing file 'lost_symlink'... 610s # Testing file 'dir_hidden'... 610s # Testing file 'dir_hidden/.a-hidden-file'... 610s # Testing file 'dir_hidden/file-in-.hidden1'... 610s # Testing file 'dir_hidden/file-in-.hidden2'... 610s # Testing pattern file... 610s # read 65536 bytes, total = 65536 of 65536. 610s ok 3 /live-g-file/test_initial_structure 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_traverse_structure/.dirs/runtime 610s # Traversing through the sample structure in '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 610s # Found file dir1, relative to root: dir1 610s # Found file subdir, relative to root: dir1/subdir 610s # Found file dir2, relative to root: dir2 610s # Found file dir-target, relative to root: dir-target 610s # Found file dir_no-access, relative to root: dir_no-access 610s # Found file dir_no-write, relative to root: dir_no-write 610s # Found file target-file, relative to root: target-file 610s # Found file normal_file, relative to root: normal_file 610s # Found file normal_file-symlink, relative to root: normal_file-symlink 610s # Found file executable_file, relative to root: executable_file 610s # Found file private_file, relative to root: private_file 610s # Found file normal_file2, relative to root: normal_file2 610s # Found file readonly_file, relative to root: readonly_file 610s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 610s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 610s # Found file lost_symlink, relative to root: lost_symlink 610s # Found file dir_hidden, relative to root: dir_hidden 610s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 610s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 610s # Found file .hidden, relative to root: dir_hidden/.hidden 610s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 610s # Found file pattern_file, relative to root: pattern_file 610s ok 4 /live-g-file/test_traverse_structure 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_enumerate/.dirs/runtime 610s # Test enumerate '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 610s # Testing file 'dir_no-access' 610s # Testing file 'normal_file' 610s # Testing file 'normal_file-symlink' 610s # Testing file 'not_exists' 610s # Testing file 'not_exists' 610s # Testing file 'not_exists2' 610s # Testing file 'not_exists3' 610s # Testing file 'not_exists4' 610s # Testing file 'dir_no-execute/file' 610s ok 5 /live-g-file/test_enumerate 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_open/.dirs/runtime 610s # test_open: 'dir1' 610s # test_open: 'dir_no-access' 610s # test_open: 'target-file' 610s # test_open: 'normal_file-symlink' 610s # test_open: 'executable_file' 610s # test_open: 'private_file' 610s # test_open: 'readonly_file' 610s # test_open: 'UTF_pr?i?lis? z' 610s # test_open: 'pattern_file' 610s # test_open: 'not_exists' 610s # test_open: 'dir_no-execute/file' 610s # test_open: 'lost_symlink' 610s ok 6 /live-g-file/test_open 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_create/.dirs/runtime 610s # test_create: 'dir1' 610s # error code 3 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir1?: Is a directory 610s # test_create: 'dir1/subdir' 610s # error code 3 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir1/subdir?: Is a directory 610s # test_create: 'dir2' 610s # error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir2?: File exists 610s # test_create: 'normal_file' 610s # error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/normal_file?: File exists 610s # test_create: 'executable_file' 610s # test_create: 'private_file' 610s # test_create: 'normal_file2' 610s # test_create: 'UTF_pr?i?lis? z' 610s # error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 610s # test_create: 'dir_pr?i?lis? z' 610s # error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_pr?i?lis? z?: File exists 610s # test_create: 'pattern_file' 610s # test_create: 'not_exists2' 610s # test_create: 'not_exists3' 610s # test_create: 'not_exists4' 610s ok 7 /live-g-file/test_create 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_copy_move/.dirs/runtime 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> 'dir-target' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> '.' 610s # res = 0, error code 2 = Target file exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> 'target-file' 610s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> 'not_exists' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir2' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> 'dir-target' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> '.' 610s # res = 0, error code 2 = Target file exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> 'target-file' 610s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/dir-target?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> 'not_exists' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> 'dir_no-access' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'dir-target' --> 'dir_no-write' 610s # res = 0, error code 25 = Can?t recursively copy directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/target-file?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/target-file?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/target-file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'target-file' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/target-file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> '.' 610s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/normal_file-symlink: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> 'target-file' 610s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 610s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 610s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 610s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/executable_file?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/executable_file?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/executable_file?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'executable_file' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/private_file?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/private_file?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/private_file?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/private_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'private_file' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/private_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/normal_file2?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/normal_file2?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'normal_file2' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> '.' 610s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/pattern_file?: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> 'target-file' 610s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/pattern_file?: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> 'not_exists' 610s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> 'dir_no-access' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'pattern_file' --> 'dir_no-write' 610s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'dir-target' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> '.' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'target-file' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'not_exists' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'dir_no-access' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'dir_no-write' 610s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists?: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'not_exists' --> 'dir-target' 610s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> 'dir-target' 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> '.' 610s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/lost_symlink: File exists 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> 'target-file' 610s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/target-file/lost_symlink: Not a directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> 'not_exists' 610s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 610s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 610s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 610s ok 8 /live-g-file/test_copy_move 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_delete/.dirs/runtime 610s # Deleting dir1, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir1 610s # result = 0, error = Error removing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir1: Directory not empty 610s # Deleting dir2, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir2 610s # result = 0, error = Error removing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir2: No such file or directory 610s # Deleting executable_file, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/executable_file 610s # result = 0, error = Error trashing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/executable_file: No such file or directory 610s # Deleting readonly_file, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/readonly_file 610s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_pr?i?lis? z 610s # Deleting not_exists, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists 610s # result = 0, error = Error removing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists: No such file or directory 610s # Deleting not_exists, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists 610s # result = 0, error = Error trashing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/not_exists: No such file or directory 610s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-execute/file 610s # result = 0, error = Error removing file /tmp/test_live-g-file_6KK452/testdir_live-g-file/dir_no-execute/file: No such file or directory 610s # Deleting lost_symlink, path = /tmp/test_live-g-file_6KK452/testdir_live-g-file/lost_symlink 610s ok 9 /live-g-file/test_delete 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_make_directory_with_parents/.dirs/runtime 610s # We do not have CAP_DAC_OVERRIDE or equivalent 610s ok 10 /live-g-file/test_make_directory_with_parents 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/final_clean/.dirs/runtime 610s # Cleaning target testing structure in '/tmp/test_live-g-file_6KK452/testdir_live-g-file'... 610s # deleting 'dir1' 610s # deleting 'subdir' 610s # deleting 'dir-target' 610s # deleting 'dir2' 610s # deleting 'target-file' 610s # deleting 'normal_file-symlink' 610s # deleting 'pattern_file' 610s # deleting 'executable_file' 610s # deleting 'private_file' 610s # deleting 'normal_file2' 610s # deleting 'UTF_pr?i?lis? z' 610s # deleting 'lost_symlink' 610s # deleting 'dir_no-access' 610s # deleting 'dir_no-write' 610s # deleting 'target-file' 610s # deleting 'normal_file' 610s # deleting 'normal_file-symlink' 610s # deleting 'executable_file~' 610s # deleting 'private_file' 610s # deleting 'normal_file2~' 610s # deleting 'a' 610s # deleting 'UTF_pr?i?lis? z' 610s # deleting 'dir_hidden' 610s # deleting '.a-hidden-file' 610s # deleting 'file-in-.hidden1' 610s # deleting '.hidden' 610s # deleting 'file-in-.hidden2' 610s # deleting 'pattern_file' 610s # deleting 'executable_file' 610s # deleting 'normal_file2' 610s # deleting 'not_exists2' 610s # deleting 'not_exists3' 610s # deleting 'not_exists4' 610s ok 11 /live-g-file/final_clean 610s # Start of test_unix_is_mountpoint tests 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 610s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6KK452/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 610s ok - glib/live-g-file.test 610s ok 13 /live-g-file/test_unix_is_mountpoint/proc 610s # End of test_unix_is_mountpoint tests 610s # End of live-g-file tests 610s # Running test: glib/properties-refcount1.test 610s TAP version 14 610s # random seed: R02Se4ad26e54f66ccad608fbacf899123d6 610s 1..1 610s # Start of gobject tests 610s # Start of refcount tests 610s # .d 610s # .c 610s # .e 610s # .b 610s # .f 610s # .d 610s # .c 610s # .f 610s # .b 610s # .d 610s # .c 610s # .e 610s # .c 610s # .d 610s # .f 610s # .b 610s # .e 610s # .d 610s # .c 610s # .f 610s # .b 610s # .e 610s # .d 610s # .c 610s # .f 610s # .b 610s # .e 610s # .d 610s # .f 610s # .b 610s # .c 610s # .e 610s # .d 610s # .f 610s # .b 610s # .e 610s # .c 610s # .d 610s # .f 610s # .b 610s # .e 610s # .f 610s # .d 610s # .c 610s # .f 610s # .d 610s # .b 610s # .e 610s # .c 610s # .f 610s # .b 610s # .e 610s # .d 610s # .c 610s # .f 610s # .b 610s # .d 610s # .e 610s # .f 610s # .c 610s # .d 610s # .b 610s # .f 610s # .e 610s # .d 610s # .c 610s # .b 610s # .f 610s # .e 610s # .d 610s # .b 610s # .f 610s # .c 610s # .e 610s # .d 610s # .f 611s # .b 611s # .c 611s # .e 611s # .d 611s # .f 611s # .b 611s # .c 611s # .e 611s # .d 611s # .e 611s # .f 611s # .d 611s # .b 611s # .d 611s # .c 611s # .e 611s # .d 611s # .f 611s # .c 611s # .b 611s # .d 611s # .c 611s # .e 611s # .f 611s # .b 611s # .e 611s # .b 611s # .d 611s # .c 611s # .f 611s # .b 611s # .e 611s # .d 611s # .f 611s # .c 611s # .e 611s # .b 611s # .c 611s # .d 611s # .f 611s # .e 611s # .b 611s # .c 611s # .d 611s # .e 611s # .f 611s # .b 611s # .c 611s # .f 611s # .d 611s # .e 611s # .b 611s # .c 611s # .f 611s # .e 611s # .d 611s # .b 611s # .f 611s # .c 611s # .e 611s # .d 611s # .b 611s # .c 611s # .f 611s # .e 611s # .b 611s # .d 611s # .f 611s # .c 611s # .e 611s # .b 611s # .f 611s # .d 611s # .c 611s # .e 611s # .f 611s # .d 611s # .b 611s # .c 611s # .e 611s # .f 611s # .d 611s # .b 612s # .e 612s # .c 612s # .b 612s # .f 612s # .d 612s # .e 612s # .c 612s # .f 612s # .b 612s # .d 612s # .e 612s # .c 612s # .b 612s # .f 612s # .d 612s # .c 612s # .e 612s # .f 612s # .b 612s # .d 612s # .e 612s # .f 612s # .c 612s # .b 612s # .d 612s # .f 612s # .e 612s # .c 612s # .b 612s # .d 612s # .f 612s # .e 612s # .c 612s # .f 612s # .b 612s # .d 612s # .e 612s # .b 612s # .c 612s # .f 612s # .e 612s # .d 612s # .f 612s # .b 612s # .c 612s # .e 612s # .b 612s # .c 612s # .d 612s # .f 612s # .b 612s # .e 612s # .c 612s # .d 612s # .f 612s # .e 612s # .b 612s # .d 612s # .c 612s # .e 612s # .f 612s # .b 612s # .c 612s # .d 612s # .f 612s # .e 612s # .b 612s # .d 612s # .f 612s # .c 612s # .e 612s # .b 612s # .c 612s # .d 612s # .f 612s # .b 612s # .e 612s # .c 612s # .b 612s # .f 612s # .d 612s # .c 613s # .e 613s # .b 613s # .d 613s # .f 613s # .e 613s ok 1 /gobject/refcount/properties-1 613s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 613s # End of refcount tests 613s # End of gobject tests 613s TAP version 14 613s # random seed: R02S034f32fa0d0f87e15d4c65c5660675d1 613s 1..4 613s # Start of refcount tests 613s ok 1 /refcount/grefcount 613s ok 2 /refcount/gatomicrefcount 613s # Start of grefcount tests 613s ok 3 /refcount/grefcount/saturation 613s # End of grefcount tests 613s # Start of gatomicrefcount tests 613s ok 4 /refcount/gatomicrefcount/saturation 613s # End of gatomicrefcount tests 613s # End of refcount tests 613s ok - glib/properties-refcount1.test 613s # Running test: glib/refcount.test 613s ok - glib/refcount.test 613s # Running test: glib/data-input-stream.test 613s TAP version 14 613s # random seed: R02S1ed82d8588ffb3e041109962f8a7836e 613s 1..10 613s # Start of data-input-stream tests 613s ok 1 /data-input-stream/basic 613s ok 2 /data-input-stream/read-lines-LF 613s ok 3 /data-input-stream/read-lines-LF-valid-utf8 613s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 613s ok 5 /data-input-stream/read-lines-CR 613s ok 6 /data-input-stream/read-lines-CR-LF 613s ok 7 /data-input-stream/read-lines-any 613s ok 8 /data-input-stream/read-until 613s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 613s # Test vector 1: {"key": "value"}? and ? 613s ok 9 /data-input-stream/read-upto 613s # Executing: glib/data-input-stream.test 613s ok 10 /data-input-stream/read-int 613s # End of data-input-stream tests 613s ok - glib/data-input-stream.test 613s # Running test: glib/testfilemonitor.test 613s TAP version 14 613s # random seed: R02Sb265baaa66c8cae855d0902906f60bb5 613s 1..8 613s # Start of monitor tests 613s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 613s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s # Start of file tests 613s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 613s # End of file tests 613s # End of monitor tests 613s ok - glib/testfilemonitor.test 613s # Running test: glib/mimeapps.test 613s TAP version 14 613s # random seed: R02S982681ff89cd198c036b1c383f92a260 613s 1..7 613s # Start of appinfo tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/data/applications/mimeinfo.cache' 613s ok 1 /appinfo/all 613s # Start of mime tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/all/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config 613s ok 2 /appinfo/mime/api 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config 613s ok 3 /appinfo/mime/default 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config 613s ok 4 /appinfo/mime/file 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/config 613s ok 5 /appinfo/mime/scheme-handler 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config 613s ok 6 /appinfo/mime/default-last-used 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/runtime 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 613s # removing '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 613s # creating '/tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 613s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ZJE152/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_ZJE152/appinfo/mime/ignore-nonexisting/.dirs/config 613s ok 7 /appinfo/mime/ignore-nonexisting 613s # End of mime tests 613s # End of appinfo tests 613s ok - glib/mimeapps.test 613s # Running test: glib/resolver-parsing.test 613s TAP version 14 613s # random seed: R02S5c6c5431720e7163ac86bebddf930135 613s 1..21 613s # Start of gresolver tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/invalid-header/.dirs/runtime 613s ok 1 /gresolver/invalid-header 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/record-ownership/.dirs/runtime 613s ok 2 /gresolver/record-ownership 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/unknown-record-type/.dirs/runtime 613s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 613s ok 3 /gresolver/unknown-record-type 613s # Start of mx tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/valid/.dirs/runtime 613s ok 4 /gresolver/mx/valid 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/.dirs/runtime 613s ok 5 /gresolver/mx/invalid 613s # Start of invalid tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short/.dirs/runtime 613s ok 6 /gresolver/mx/invalid/too-short 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/mx/invalid/too-short2/.dirs/runtime 613s ok 7 /gresolver/mx/invalid/too-short2 613s # End of invalid tests 613s # End of mx tests 613s # Start of ns tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/valid/.dirs/runtime 613s ok 8 /gresolver/ns/valid 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/ns/invalid/.dirs/runtime 613s ok 9 /gresolver/ns/invalid 613s # End of ns tests 613s # Start of soa tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/valid/.dirs/runtime 613s ok 10 /gresolver/soa/valid 613s # Start of invalid tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/mname/.dirs/runtime 613s ok 11 /gresolver/soa/invalid/mname 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/rname/.dirs/runtime 613s ok 12 /gresolver/soa/invalid/rname 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/soa/invalid/too-short/.dirs/runtime 613s ok 13 /gresolver/soa/invalid/too-short 613s # End of invalid tests 613s # End of soa tests 613s # Start of srv tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/valid/.dirs/runtime 613s ok 14 /gresolver/srv/valid 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/.dirs/runtime 613s ok 15 /gresolver/srv/invalid 613s # Start of invalid tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short/.dirs/runtime 613s ok 16 /gresolver/srv/invalid/too-short 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/srv/invalid/too-short2/.dirs/runtime 613s ok 17 /gresolver/srv/invalid/too-short2 613s # End of invalid tests 613s # End of srv tests 613s # Start of txt tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/.dirs/runtime 613s ok 18 /gresolver/txt/valid 613s # Start of valid tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/valid/multiple-strings/.dirs/runtime 613s ok 19 /gresolver/txt/valid/multiple-strings 613s # End of valid tests 613s # Start of invalid tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/empty/.dirs/runtime 613s ok 20 /gresolver/txt/invalid/empty 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8PZ52/gresolver/txt/invalid/overflow/.dirs/runtime 613s ok 21 /gresolver/txt/invalid/overflow 613s # End of invalid tests 613s # End of txt tests 613s # End of gresolver tests 613s ok - glib/resolver-parsing.test 613s # Running test: glib/assert-msg-test.py.test 613s TAP version 13 613s ok 1 __main__.TestAssertMessage.test_gassert 613s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 613s # tmpdir: /tmp/tmpuw0nsbuq 613s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 613s # Return code: -6 613s # Output: 613s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 613s # Error: 613s # ** 613s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 613s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 613s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 613s # tmpdir: /tmp/tmpz35wnnwq 613s 1..2 613s ok - glib/assert-msg-test.py.test 613s # Running test: glib/pollable.test 613s TAP version 14 613s # random seed: R02S418e44b791e5177cd122766450d7c2c9 613s 1..6 613s ok - glib/pollable.test 613s # Start of pollable tests 613s ok 1 /pollable/converter 613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 613s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb7cba2eaac0 and GSocketClientAsyncConnectData 0xbb7cba2e6c10 613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 613s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 613s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb7cba2efa00 for GSocketClientAsyncConnectData 0xbb7cba2e6c10 613s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 613s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 613s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 613s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 613s ok 2 /pollable/socket 613s # Start of unix tests 613s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 613s ok 3 /pollable/unix/pipe 613s # /pollable/unix/pty summary: Test that PTYs are considered pollable 613s ok 4 /pollable/unix/pty 613s # /pollable/unix/file summary: Test that regular files are not considered pollable 613s ok 5 /pollable/unix/file 613s # /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 613s ok 6 /pollable/unix/nulldev 613s # End of unix tests 613s # End of pollable tests 613s TAP version 14 613s # random seed: R02S35b2a55d407b8b39777e9e558aec71a4 613s 1..11 613s # Start of utils-isolated tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/tmp-dir/.dirs/runtime 613s ok 1 /utils-isolated/tmp-dir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/home-dir/.dirs/runtime 613s ok 2 /utils-isolated/home-dir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-cache-dir/.dirs/runtime 613s ok 3 /utils-isolated/user-cache-dir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-config-dirs/.dirs/runtime 613s ok 4 /utils-isolated/system-config-dirs 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-config-dir/.dirs/runtime 613s ok 5 /utils-isolated/user-config-dir 613s # Running test: glib/utils-isolated.test 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/system-data-dirs/.dirs/runtime 613s ok 6 /utils-isolated/system-data-dirs 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-data-dir/.dirs/runtime 613s ok 7 /utils-isolated/user-data-dir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-state-dir/.dirs/runtime 613s ok 8 /utils-isolated/user-state-dir 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/user-runtime-dir/.dirs/runtime 613s ok 9 /utils-isolated/user-runtime-dir 613s # Start of cleanup tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/runtime 613s Unable to clean up temporary directory /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 613s Unable to clean up temporary directory /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 613s Unable to clean up temporary directory /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/handles-errors: Directory not empty 613s ok 10 /utils-isolated/cleanup/handles-errors 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 613s Unable to clean up temporary directory /tmp/test_utils-isolated_PSJQ52/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 613s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 613s # End of cleanup tests 613s # End of utils-isolated tests 613s ok - glib/utils-isolated.test 613s # Running test: glib/appmonitor.test 613s TAP version 14 613s # random seed: R02Scf7fa555d53d35a5abde2e99810f48f2 613s 1..1 613s # Start of monitor tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/runtime 613s # Using data directory: /tmp/test_appmonitor_AOZQ52/monitor/app/.dirs/data 613s ok 1 /monitor/app 613s # End of monitor tests 613s ok - glib/appmonitor.test 613s # Running test: glib/ifaceproperties.test 613s TAP version 14 613s # random seed: R02Sca62cae5c1d9ab0418757bbc37b27120 613s 1..7 613s # Start of interface tests 613s # Start of properties tests 613s ok 1 /interface/properties/set 613s ok 2 /interface/properties/notify 613s ok 3 /interface/properties/find-overridden 613s ok 4 /interface/properties/list-overridden 613s ok 5 /interface/properties/find-interface 613s ok 6 /interface/properties/list-interface 613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 613s ok 7 /interface/properties/not-overridden 613s # End of properties tests 613s # End of interface tests 613s ok - glib/ifaceproperties.test 613s # Running test: glib/portal-support-flatpak-network-only.test 613s TAP version 14 613s ok - glib/portal-support-flatpak-network-only.test 613s # Running test: glib/mapping.test 613s # random seed: R02S1d7470099df83b94259e4edb10d38ffc 613s 1..1 613s # Start of portal-support tests 613s # Start of flatpak tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/runtime 613s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_RDFR52/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 613s ok 1 /portal-support/flatpak/network 613s # End of flatpak tests 613s # End of portal-support tests 613s TAP version 14 613s # random seed: R02S67b33809ba5e2b9972b60868e1abbb54 613s 1..3 613s # Start of mapping tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/system-config1:/tmp/test_mapping_1GCR52/mapping/flags/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/system-data1:/tmp/test_mapping_1GCR52/mapping/flags/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_1GCR52/mapping/flags/.dirs/runtime 613s # test_mapping: ok 613s ok 1 /mapping/flags 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_1GCR52/mapping/private/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_1GCR52/mapping/private/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_1GCR52/mapping/private/.dirs/system-config1:/tmp/test_mapping_1GCR52/mapping/private/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_1GCR52/mapping/private/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_1GCR52/mapping/private/.dirs/system-data1:/tmp/test_mapping_1GCR52/mapping/private/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_1GCR52/mapping/private/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_1GCR52/mapping/private/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_1GCR52/mapping/private/.dirs/runtime 613s ok 2 /mapping/private 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_1GCR52/mapping/private-child/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_1GCR52/mapping/private-child/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_1GCR52/mapping/private-child/.dirs/runtime 613s # test_child_private: child spawned 613s # Subtest: /usr/libexec/installed-tests/glib/mapping 613s # random seed: R02Scf725d1d89bd04777965257b5efa21e4 613s # test_child_private: received first child signal 613s # test_child_private: received parent signal 613s # Child exited with status 0 613s # test_child_private: received second child signal 613s ok 3 /mapping/private-child 613s # End of mapping tests 613s ok - glib/mapping.test 613s # Running test: glib/gdbus-proxy-unique-name.test 613s TAP version 14 613s # random seed: R02Seb9acf26a63baf81e94ba6bd926e62bd 613s 1..1 613s # Start of gdbus tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_6OVR52/gdbus/proxy-unique-name/.dirs/runtime 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 1 /gdbus/proxy-unique-name 613s # End of gdbus tests 613s ok - glib/gdbus-proxy-unique-name.test 613s # Running test: glib/performance-threaded.test 613s Running test "liststore-is-a" 614s 16476 runs, min/avg/max = 0.059/0.061/0.201 ms 614s Running test "liststore-interface-peek" 615s 29705 runs, min/avg/max = 0.033/0.034/0.187 ms 615s Running test "liststore-interface-peek-same" 616s 30086 runs, min/avg/max = 0.032/0.033/0.150 ms 616s ok - glib/performance-threaded.test 616s # Running test: glib/bitlock.test 616s ok - glib/bitlock.test 616s TAP version 14 616s # random seed: R02Seb96b9ad714b4b841fe893c3419471ed 616s 1..1 616s # Start of bitlock tests 616s # Start of performance tests 616s # max perf: iterations per second 616s ok 1 /bitlock/performance/uncontended 616s # End of performance tests 616s # End of bitlock tests 616s # Running test: glib/list.test 616s TAP version 14 616s # random seed: R02S3393b7686e399cc7e087f5a87a7fac24 616s 1..20 616s # Start of list tests 616s ok 1 /list/sort 616s ok 2 /list/sort-with-data 616s ok 3 /list/insert-before-link 616s ok 4 /list/insert-sorted 616s ok 5 /list/insert-sorted-with-data 616s ok 6 /list/reverse 616s ok 7 /list/nth 616s ok 8 /list/concat 616s ok 9 /list/remove 616s ok 10 /list/remove-all 616s ok 11 /list/first-last 616s ok 12 /list/insert 616s ok 13 /list/free-full 616s ok 14 /list/copy 616s ok 15 /list/copy-deep 616s ok 16 /list/delete-link 616s ok 17 /list/prepend 616s ok 18 /list/position 616s ok 19 /list/double-free 616s # Start of sort tests 616s ok 20 /list/sort/stable 616s ok - glib/list.test 616s # Running test: glib/hostutils.test 616s ok - glib/hostutils.test 616s # Running test: glib/utils-c-17.test 616s # End of sort tests 616s # End of list tests 616s TAP version 14 616s # random seed: R02S7311099d6140ac5ca9a7610647b96a2e 616s 1..3 616s # Start of hostutils tests 616s ok 1 /hostutils/to_ascii 616s ok 2 /hostutils/to_unicode 616s ok 3 /hostutils/is_ip_addr 616s # End of hostutils tests 616s TAP version 14 616s # random seed: R02S2132a4b754c00093598ebed6f1ab9f0e 616s 1..41 616s # Start of utils tests 616s ok 1 /utils/language-names 616s ok 2 /utils/locale-variants 616s ok 3 /utils/version 616s ok 4 /utils/appname 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 616s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 616s ok 5 /utils/prgname-thread-safety 616s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 616s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 616s ok 6 /utils/tmpdir 616s ok 7 /utils/basic_bits 616s ok 8 /utils/bits 616s ok 9 /utils/swap 616s ok 10 /utils/find-program 616s ok 11 /utils/find-program-for-path 616s ok 12 /utils/debug 616s ok 13 /utils/codeset 616s ok 14 /utils/codeset2 616s ok 15 /utils/console-charset 616s ok 16 /utils/gettext 616s ok 17 /utils/username 616s ok 18 /utils/realname 616s ok 19 /utils/hostname 616s ok 20 /utils/xdgdirs 616s ok 21 /utils/specialdir 616s # NAME: Ubuntu 616s ok 22 /utils/os-info 616s ok 23 /utils/clear-pointer 616s ok - glib/utils-c-17.test 616s # Running test: glib/markup-subparser.test 616s ok - glib/markup-subparser.test 616s # Running test: glib/memory-input-stream.test 616s ok - glib/memory-input-stream.test 616s ok 24 /utils/clear-pointer-cast 616s ok 25 /utils/take-pointer 616s ok 26 /utils/clear-source 616s ok 27 /utils/misc-mem 616s # /utils/aligned-mem summary: Aligned memory allocator 616s # Alignment must not be zero 616s # Alignment must be a power of two 616s # Alignment must be a multiple of sizeof(void*) 616s ok 28 /utils/aligned-mem 616s # /utils/free-sized summary: Check that g_free_sized() works 616s ok 29 /utils/free-sized 616s ok 30 /utils/nullify 616s ok 31 /utils/atexit 616s ok 32 /utils/check-setuid 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 616s ok 33 /utils/int-limits 616s ok 34 /utils/clear-list 616s ok 35 /utils/clear-slist 616s ok 36 /utils/steal-handle-id 616s # Start of specialdir tests 616s ok 37 /utils/specialdir/desktop 616s # End of specialdir tests 616s # Start of clear-pointer tests 616s ok 38 /utils/clear-pointer/side-effects 616s # End of clear-pointer tests 616s # Start of aligned-mem tests 616s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 616s ok 39 /utils/aligned-mem/alignment 616s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 616s ok 40 /utils/aligned-mem/zeroed 616s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 616s ok 41 /utils/aligned-mem/free-sized 616s # Start of subprocess tests 616s # End of subprocess tests 616s # End of aligned-mem tests 616s # End of utils tests 616s TAP version 14 616s # random seed: R02S3116160d4a5a8e8f9fd57d74269ef976 616s 1..14 616s # Start of glib tests 616s # Start of markup tests 616s # Start of subparser tests 616s # Start of success tests 616s ok 1 /glib/markup/subparser/success/0 616s ok 2 /glib/markup/subparser/success/1 616s ok 3 /glib/markup/subparser/success/2 616s ok 4 /glib/markup/subparser/success/3 616s ok 5 /glib/markup/subparser/success/4 616s ok 6 /glib/markup/subparser/success/5 616s ok 7 /glib/markup/subparser/success/6 616s # End of success tests 616s # Start of failure tests 616s ok 8 /glib/markup/subparser/failure/0 616s ok 9 /glib/markup/subparser/failure/1 616s ok 10 /glib/markup/subparser/failure/2 616s ok 11 /glib/markup/subparser/failure/3 616s ok 12 /glib/markup/subparser/failure/4 616s ok 13 /glib/markup/subparser/failure/5 616s ok 14 /glib/markup/subparser/failure/6 616s # End of failure tests 616s # End of subparser tests 616s # End of markup tests 616s # End of glib tests 616s TAP version 14 616s # random seed: R02S6172927d3d1aafe0a6fe77fe5ffaf8c5 616s 1..6 616s # Start of memory-input-stream tests 616s ok 1 /memory-input-stream/read-chunks 616s ok 2 /memory-input-stream/async 616s ok 3 /memory-input-stream/seek 616s ok 4 /memory-input-stream/truncate 616s ok 5 /memory-input-stream/read-bytes 616s ok 6 /memory-input-stream/from-bytes 616s # End of memory-input-stream tests 616s # Running test: glib/onceinit.test 616s TAP version 14 616s # random seed: R02S3a27182c6424743a95eab349ed2b651a 616s 1..1 616s # Start of thread tests 616s ok - glib/onceinit.test 616s ok 1 /thread/onceinit 616s # End of thread tests 616s # Running test: glib/param.test 616s TAP version 14 616s # random seed: R02S4c2d23c255893ebabe59540ac3a74d9a 616s 1..32 616s # Start of param tests 616s ok 1 /param/value 616s ok 2 /param/strings 616s ok 3 /param/qdata 616s ok 4 /param/validate 616s ok 5 /param/convert 616s ok 6 /param/implement # SKIP Skipping slow /param/implement test 616s ok 7 /param/default 616s ok 8 /param/is-valid-name 616s # Start of invalid-name tests 616s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 616s ok 9 /param/invalid-name/colon 616s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 616s ok 10 /param/invalid-name/first-char 616s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 616s ok 11 /param/invalid-name/empty 616s # End of invalid-name tests 616s # Start of implement tests 616s # Start of subprocess tests 616s # End of subprocess tests 616s # End of implement tests 616s # End of param tests 616s # Start of value tests 616s ok 12 /value/transform 616s # End of value tests 616s # Start of paramspec tests 616s ok 13 /paramspec/char 616s ok 14 /paramspec/uchar 616s ok 15 /paramspec/int 616s ok 16 /paramspec/uint 616s ok 17 /paramspec/long 616s ok 18 /paramspec/ulong 616s ok 19 /paramspec/int64 616s ok 20 /paramspec/uint64 616s ok 21 /paramspec/float 616s ok 22 /paramspec/double 616s ok 23 /paramspec/unichar 616s ok 24 /paramspec/param 616s ok 25 /paramspec/null-param 616s ok 26 /paramspec/string 616s ok 27 /paramspec/override 616s ok 28 /paramspec/gtype 616s ok 29 /paramspec/variant 616s ok 30 /paramspec/custom 616s ok 31 /paramspec/pool 616s # Start of variant tests 616s ok 32 /paramspec/variant/cmp 616s # End of variant tests 616s # End of paramspec tests 616s ok - glib/param.test 616s # Running test: glib/properties-refcount2.test 616s TAP version 14 616s # random seed: R02Sb3fc33e6ed4ab12212d21a3ec7bf9b7e 616s 1..1 616s # Start of gobject tests 616s # Start of refcount tests 616s # init 0xac83deacae30 616s # 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 616s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s # . 617s ok - glib/properties-refcount2.test 617s # Running test: glib/converter.test 617s # . 617s # dispose 0xac83deacae30! 617s # 617s ok 1 /gobject/refcount/properties-2 617s # slow test /gobject/refcount/properties-2 executed in 0.94 secs 617s # End of refcount tests 617s # End of gobject tests 617s TAP version 14 617s # random seed: R02Sab9e9d1cb8eadaba4fb854ae4216c537 617s 1..2 617s # Start of converter tests 617s ok 1 /converter/bytes 617s ok 2 /converter/extra-bytes-at-end 617s # End of converter tests 617s ok - glib/converter.test 617s # Running test: glib/qdata.test 617s TAP version 14 617s # random seed: R02S9ba490b0437b98b0c5ccf1fac06d5240 617s 1..2 617s # Start of qdata tests 617s ok - glib/qdata.test 617s # Running test: glib/mappedfile.test 617s ok 1 /qdata/threaded 617s ok 2 /qdata/dup 617s # End of qdata tests 617s TAP version 14 617s # random seed: R02Sc8e90cac0a6f31cd688a7f830e019969 617s 1..7 617s # Start of mappedfile tests 617s ok 1 /mappedfile/basic 617s ok 2 /mappedfile/empty 617s ok 3 /mappedfile/device 617s ok 4 /mappedfile/nonexisting 617s ok 5 /mappedfile/writable 617s ok 6 /mappedfile/writable_fd 617s ok 7 /mappedfile/gbytes 617s # End of mappedfile tests 617s ok - glib/mappedfile.test 617s # Running test: glib/slice.test 617s TAP version 14 617s # random seed: R02S0b2d5ef71682072d4da11d80c39adcd2 617s 1..3 617s # Start of slice tests 617s ok 1 /slice/copy 617s ok 2 /slice/chain 618s ok 3 /slice/allocate 618s # End of slice tests 618s ok - glib/slice.test 618s # Running test: glib/overflow-fallback.test 618s TAP version 14 618s # random seed: R02S3c312e4743c59822c15f869ffd800767 618s 1..6 618s # Start of glib tests 618s # Start of checked-math tests 618s ok 1 /glib/checked-math/guint-add 618s ok 2 /glib/checked-math/guint-mul 618s ok 3 /glib/checked-math/guint64-add 618s ok 4 /glib/checked-math/guint64-mul 618s ok 5 /glib/checked-math/gsize-add 618s ok 6 /glib/checked-math/gsize-mul 618s # End of checked-math tests 618s # End of glib tests 618s ok - glib/overflow-fallback.test 618s # Running test: glib/mainloop.test 618s TAP version 14 618s # random seed: R02S467f54aeb890d4d8a801025895931c4a 618s 1..45 618s # Start of maincontext tests 618s ok 1 /maincontext/basic 618s # Add same-priority sources: 15 618s # Find each source: 2 618s # Executing: glib/mainloop.test 618s # Remove in random order: 35 618s ok 2 /maincontext/nsources_same_priority 618s # Add different-priority sources: 18 618s # Find each source: 2 618s # Remove in random order: 38 618s ok 3 /maincontext/nsources_different_priority 618s # Add sources from threads: 124 618s # Remove sources from threads: 75 618s ok 4 /maincontext/nsources_threadpool 618s ok 5 /maincontext/source_finalization 618s # /maincontext/idle-once summary: Test g_idle_add_once() works 618s ok 6 /maincontext/idle-once 618s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 618s ok 7 /maincontext/timeout-once 618s # Start of source_finalization_from_source tests 618s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 8 /maincontext/source_finalization_from_source/0 618s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 9 /maincontext/source_finalization_from_source/1 618s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 10 /maincontext/source_finalization_from_source/2 618s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 11 /maincontext/source_finalization_from_source/3 618s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 12 /maincontext/source_finalization_from_source/4 618s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 13 /maincontext/source_finalization_from_source/5 618s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 14 /maincontext/source_finalization_from_source/6 618s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 15 /maincontext/source_finalization_from_source/7 618s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 16 /maincontext/source_finalization_from_source/8 618s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 618s ok 17 /maincontext/source_finalization_from_source/9 618s # End of source_finalization_from_source tests 618s # Start of source_finalization_from_dispatch tests 618s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 618s ok 18 /maincontext/source_finalization_from_dispatch/0 618s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 618s ok 19 /maincontext/source_finalization_from_dispatch/1 618s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 618s ok 20 /maincontext/source_finalization_from_dispatch/2 618s # End of source_finalization_from_dispatch tests 618s # End of maincontext tests 618s # Start of mainloop tests 618s ok 21 /mainloop/basic 618s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 618s ok 23 /mainloop/priorities 619s ok 24 /mainloop/invoke 619s # slow test /mainloop/invoke executed in 0.50 secs 620s ok 25 /mainloop/child_sources 620s # slow test /mainloop/child_sources executed in 1.19 secs 622s ok 26 /mainloop/recursive_child_sources 622s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 622s ok 27 /mainloop/recursive_loop_child_sources 622s ok 28 /mainloop/swapping_child_sources 622s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 622s ok 29 /mainloop/blocked_child_sources 623s # Executing: glib/mainloop.test 623s ok 30 /mainloop/source_time 623s # slow test /mainloop/source_time executed in 1.00 secs 623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 623s ok 31 /mainloop/overflow 623s ok 32 /mainloop/ready-time 623s # slow test /mainloop/ready-time executed in 0.50 secs 623s ok 33 /mainloop/wakeup 623s ok 34 /mainloop/remove-invalid 623s ok 35 /mainloop/unref-while-pending 624s ok 36 /mainloop/unix-fd 624s # slow test /mainloop/unix-fd executed in 0.58 secs 624s ok 37 /mainloop/unix-fd-source 624s ok 38 /mainloop/source-unix-fd-api 624s ok 39 /mainloop/wait 624s ok 40 /mainloop/unix-file-poll 624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 624s ok 41 /mainloop/unix-fd-priority 624s ok 42 /mainloop/nfds 624s ok 43 /mainloop/steal-fd 624s # Start of ownerless-polling tests 624s ok 44 /mainloop/ownerless-polling/attach-first 624s ok 45 /mainloop/ownerless-polling/pop-first 624s # End of ownerless-polling tests 624s # End of mainloop tests 624s ok - glib/mainloop.test 624s # Running test: glib/dynamictests.test 624s ok - glib/dynamictests.test 624s # Running test: glib/asyncqueue.test 624s TAP version 14 624s # random seed: R02Sb2c1807a07d949f61dc4c6565c4b29cb 624s 1..2 624s # Start of GObject tests 624s ok 1 /GObject/threaded-dynamic-ref-unref-init 624s ok 2 /GObject/dynamic-interface-properties 624s # End of GObject tests 624s TAP version 14 624s # random seed: R02S26077ea8dbd4bea8e1791f9b8ef024d2 624s 1..7 624s # Start of asyncqueue tests 624s ok 1 /asyncqueue/basics 624s ok 2 /asyncqueue/sort 624s ok 3 /asyncqueue/destroy 624s ok 4 /asyncqueue/threads 625s ok 5 /asyncqueue/timed 625s ok 6 /asyncqueue/remove 625s ok 7 /asyncqueue/push_front 625s # End of asyncqueue tests 625s ok - glib/asyncqueue.test 625s # Running test: glib/properties-refcount3.test 625s TAP version 14 625s # random seed: R02S264d4326821f839171b5b24701072ec2 625s 1..1 625s # Start of gobject tests 625s # Start of refcount tests 628s # Executing: glib/properties-refcount3.test 633s # Executing: glib/properties-refcount3.test 638s # Executing: glib/properties-refcount3.test 643s # Executing: glib/properties-refcount3.test 648s # Executing: glib/properties-refcount3.test 653s # Executing: glib/properties-refcount3.test 655s # 655s # stopping 655s # 655s # stopped 655s # 655s # 24629324 751256 655s # 655s ok 1 /gobject/refcount/properties-3 655s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 655s # End of refcount tests 655s # End of gobject tests 655s ok - glib/properties-refcount3.test 655s # Running test: glib/object-info.test 655s TAP version 14 655s # random seed: R02Sa25245e6566c3b553e900e8ffafd37c3 655s 1..2 655s # Start of object-info tests 655s ok - glib/object-info.test 655s # Running test: glib/atomic.test 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4YH052/object-info/find-method-using-interfaces/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s ok 1 /object-info/find-method-using-interfaces 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4YH052/object-info/find-vfunc-using-interfaces/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s ok 2 /object-info/find-vfunc-using-interfaces 655s # End of object-info tests 655s TAP version 14 655s # random seed: R02S37909e0ae1925cd1255671c46f413156 655s 1..2 655s # Start of atomic tests 655s ok 1 /atomic/types 655s ok - glib/atomic.test 655s ok 2 /atomic/threaded 655s # End of atomic tests 655s # Running test: glib/spawn-path-search.test 655s TAP version 14 655s # random seed: R02S0cf8b200f6fd03c8e0fa5b02eaac7624 655s 1..7 655s # Start of spawn tests 655s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 655s # 655s # this is spawn-test-helper from glib/tests 655s # 655s ok 1 /spawn/do-not-search 655s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 655s # 655s # this is spawn-test-helper from path-test-subdir 655s # 655s ok 2 /spawn/search-path 655s # /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. 655s # 655s # this is spawn-test-helper from path-test-subdir 655s # 655s ok 3 /spawn/search-path-from-envp 655s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 655s # 655s # this is spawn-test-helper from path-test-subdir 655s # 655s ok 4 /spawn/search-path-ambiguous 655s # 655s # this is spawn-test-helper from path-test-subdir 655s # 655s ok 5 /spawn/search-path-heap-allocation 655s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 655s # 655s # this is spawn-test-helper from glib/tests 655s # 655s ok 6 /spawn/search-path-fallback-in-environ 655s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 655s # 655s ok - glib/spawn-path-search.test 655s # Running test: glib/macros.test 655s ok - glib/macros.test 655s # this is spawn-test-helper from glib/tests 655s # 655s ok 7 /spawn/search-path-fallback-in-envp 655s # End of spawn tests 655s TAP version 14 655s # random seed: R02Sdff170be90d1e76b3e1e554e498f3f73 655s 1..3 655s # Start of alignof tests 655s ok 1 /alignof/fallback 655s # End of alignof tests 655s # Start of assert tests 655s ok 2 /assert/static 655s # End of assert tests 655s # Start of struct tests 655s ok 3 /struct/sizeof_member 655s # End of struct tests 655s # Running test: glib/unicode-encoding.test 655s TAP version 14 655s # random seed: R02S343cb044838a4b1a10e645d38cb8c281 655s 1..1 655s # Start of unicode tests 655s ok 1 /unicode/encoding 655s # End of unicode tests 655s ok - glib/unicode-encoding.test 655s # Running test: glib/bindinggroup.test 655s ok - glib/bindinggroup.test 655s TAP version 14 655s # random seed: R02S3351003fa213c1818ef76179f82bf414 655s 1..11 655s # Start of GObject tests 655s # Start of BindingGroup tests 655s ok 1 /GObject/BindingGroup/invalid 655s ok 2 /GObject/BindingGroup/default 655s ok 3 /GObject/BindingGroup/bidirectional 655s ok 4 /GObject/BindingGroup/transform 655s ok 5 /GObject/BindingGroup/transform-closures 655s ok 6 /GObject/BindingGroup/same-object 655s ok 7 /GObject/BindingGroup/weak-ref-source 655s ok 8 /GObject/BindingGroup/weak-ref-target 655s ok 9 /GObject/BindingGroup/properties 655s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 655s ok 11 /GObject/BindingGroup/empty-closures 655s # End of BindingGroup tests 655s # End of GObject tests 655s # Running test: glib/gdbus-message.test 655s TAP version 14 655s # random seed: R02S9bb78668d12e1982f44502d6201502aa 655s 1..3 655s # Start of gdbus tests 655s # Start of message tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/lock/.dirs/runtime 655s ok 1 /gdbus/message/lock 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/copy/.dirs/runtime 655s ok 2 /gdbus/message/copy 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQ1Z52/gdbus/message/bytes-needed/.dirs/runtime 655s # Vector: 0 655s # Vector: 1 655s # Vector: 2 655s # Vector: 3 655s # Vector: 4 655s # Vector: 5 655s ok 3 /gdbus/message/bytes-needed 655s # End of message tests 655s # End of gdbus tests 655s ok - glib/gdbus-message.test 655s # Running test: glib/portal-support-flatpak-none.test 655s ok - glib/portal-support-flatpak-none.test 655s # Running test: glib/utils-c-89.test 655s TAP version 14 655s # random seed: R02S04f4e9a4fe1d6635126771ca49e7bad2 655s 1..1 655s # Start of portal-support tests 655s # Start of flatpak tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/runtime 655s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_I09R52/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 655s ok 1 /portal-support/flatpak/none 655s # End of flatpak tests 655s # End of portal-support tests 655s TAP version 14 655s # random seed: R02Sa89b7b96821ad095a52ef08fe6440b24 655s 1..41 655s # Start of utils tests 655s ok 1 /utils/language-names 655s ok 2 /utils/locale-variants 655s ok 3 /utils/version 655s ok 4 /utils/appname 655s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 655s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 655s ok 5 /utils/prgname-thread-safety 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 655s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 655s ok 6 /utils/tmpdir 655s ok 7 /utils/basic_bits 655s ok 8 /utils/bits 655s ok 9 /utils/swap 655s ok 10 /utils/find-program 655s ok 11 /utils/find-program-for-path 655s ok 12 /utils/debug 655s ok 13 /utils/codeset 655s ok 14 /utils/codeset2 655s ok 15 /utils/console-charset 655s ok 16 /utils/gettext 655s ok 17 /utils/username 655s ok 18 /utils/realname 655s ok 19 /utils/hostname 655s ok 20 /utils/xdgdirs 655s ok 21 /utils/specialdir 655s # NAME: Ubuntu 655s ok 22 /utils/os-info 655s ok 23 /utils/clear-pointer 655s ok 24 /utils/clear-pointer-cast 655s ok 25 /utils/take-pointer 655s ok 26 /utils/clear-source 655s ok 27 /utils/misc-mem 655s # /utils/aligned-mem summary: Aligned memory allocator 655s # Alignment must not be zero 655s # Alignment must be a power of two 655s # Alignment must be a multiple of sizeof(void*) 655s ok 28 /utils/aligned-mem 655s # /utils/free-sized summary: Check that g_free_sized() works 655s ok 29 /utils/free-sized 655s ok 30 /utils/nullify 655s ok 31 /utils/atexit 655s ok 32 /utils/check-setuid 655s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 655s ok 33 /utils/int-limits 655s ok 34 /utils/clear-list 655s ok 35 /utils/clear-slist 655s ok 36 /utils/steal-handle-id 655s # Start of specialdir tests 655s ok 37 /utils/specialdir/desktop 655s # End of specialdir tests 655s # Start of clear-pointer tests 655s ok 38 /utils/clear-pointer/side-effects 655s # End of clear-pointer tests 655s # Start of aligned-mem tests 655s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 655s ok 39 /utils/aligned-mem/alignment 655s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 655s ok 40 /utils/aligned-mem/zeroed 655s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 655s ok 41 /utils/aligned-mem/free-sized 655s # Start of subprocess tests 655s # End of subprocess tests 655s # End of aligned-mem tests 655s # End of utils tests 655s ok - glib/utils-c-89.test 655s # Running test: glib/objects-refcount2.test 655s TAP version 14 655s # random seed: R02Sa275218901ef8e0a7daf2bacf738cf0f 655s 1..1 655s # Start of gobject tests 655s # Start of refcount tests 655s # init 0xc470a135c400 655s # 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 655s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 656s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 657s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # Executing: glib/objects-refcount2.test 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 658s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 659s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 660s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # . 661s # dispose 0xc470a135c400! 661s # 661s ok 1 /gobject/refcount/object-advanced 661s # slow test /gobject/refcount/object-advanced executed in 6.08 secs 661s # End of refcount tests 661s # End of gobject tests 661s ok - glib/objects-refcount2.test 661s # Running test: glib/deprecated-properties.test 661s TAP version 14 661s # random seed: R02S24f0a4498ea35eb4b2a08e2b4b0fe271 661s 1..3 661s # Start of deprecated-properties tests 661s ok 1 /deprecated-properties/construct 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 661s ok 2 /deprecated-properties/default-construct 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 661s ok 3 /deprecated-properties/set 661s # End of deprecated-properties tests 661s ok - glib/deprecated-properties.test 661s # Running test: glib/strvbuilder.test 661s TAP version 14 661s # random seed: R02S3d1c6317663e1e09c7d3c75be1afa307 661s 1..7 661s # Start of strvbuilder tests 661s ok 1 /strvbuilder/empty 661s ok 2 /strvbuilder/add 661s ok 3 /strvbuilder/addv 661s ok 4 /strvbuilder/add_many 661s ok 5 /strvbuilder/take 661s ok 6 /strvbuilder/ref 661s ok 7 /strvbuilder/unref_to_strv 661s # End of strvbuilder tests 661s ok - glib/strvbuilder.test 661s # Running test: glib/contenttype.test 661s TAP version 14 661s # random seed: R02Sa1a4eaeac33cb48256e683218af0cd95 661s 1..14 661s # Start of contenttype tests 661s ok 1 /contenttype/guess 661s ok 2 /contenttype/guess_svg_from_data 661s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 661s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 661s ok 5 /contenttype/unknown 661s ok 6 /contenttype/subtype 661s ok 7 /contenttype/list 661s ok 8 /contenttype/executable 661s ok 9 /contenttype/description 661s ok 10 /contenttype/icon 661s ok 11 /contenttype/symbolic-icon 661s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 661s ok 12 /contenttype/tree 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 661s ok 13 /contenttype/tree_invalid_encoding 661s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 661s ok - glib/contenttype.test 661s ok 14 /contenttype/test_type_is_a_special_case 661s # End of contenttype tests 661s # Running test: glib/unix-streams.test 661s TAP version 14 661s # random seed: R02Sb0d1568463c0b6c27307f2ddc42c57ca 661s 1..9 661s # Start of unix-streams tests 661s ok 1 /unix-streams/basic 662s ok 2 /unix-streams/pipe-io-test 662s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 662s ok 3 /unix-streams/nonblocking-io-test 662s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 662s ok 4 /unix-streams/read_write 662s ok 5 /unix-streams/read_writev 662s ok 6 /unix-streams/write-wouldblock 662s ok 7 /unix-streams/writev-wouldblock 662s ok 8 /unix-streams/write-async-wouldblock 662s ok 9 /unix-streams/writev-async-wouldblock 662s # End of unix-streams tests 662s ok - glib/unix-streams.test 662s # Running test: glib/async-close-output-stream.test 662s TAP version 14 662s # random seed: R02S413ee90c3638a294cfa5087a18be1105 662s 1..3 662s # Start of close-async tests 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 662s ok 1 /close-async/without-flush 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 662s ok 2 /close-async/with-flush 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 662s ok 3 /close-async/with-async-flush 662s # End of close-async tests 662s TAP version 14 662s # random seed: R02Sa3b6746f405b1d338cb919b57afc2da4 662s 1..4 662s # Start of socket-service tests 662s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 662s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac20055f6120 and GSocketClientAsyncConnectData 0xac20055f0bc0 662s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 662s ok 1 /socket-service/start-stop 662s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac20055fa100 and GSocketClientAsyncConnectData 0xac20055f9da0 662s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 662s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 662s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac20055fa080 for GSocketClientAsyncConnectData 0xac20055f0bc0 662s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 662s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 662s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 662s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 662s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 662s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac20055fa080 for GSocketClientAsyncConnectData 0xac20055f9da0 662s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 662s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 662s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 662s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 662s ok 2 /socket-service/read_write_async 662s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac20055fa100 and GSocketClientAsyncConnectData 0xac20055fe0d0 662s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 662s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 662s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac20055fbce0 for GSocketClientAsyncConnectData 0xac20055fe0d0 662s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 662s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 662s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 662s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 662s ok 3 /socket-service/read_writev_async 662s # Start of threaded tests 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 662s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac20055fb750 and GSocketClientAsyncConnectData 0xac20055f9da0 662s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 662s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 662s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac20055f99d0 for GSocketClientAsyncConnectData 0xac20055f9da0 662s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 662s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 662s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 662s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 662s ok 4 /socket-service/threaded/712570 662s # End of threaded tests 662s # End of socket-service tests 662s TAP version 14 662s # random seed: R02Sb4beb54fc6915d59e5609fa9e94e856e 662s 1..2 662s # Start of rand tests 662s ok 1 /rand/test-rand 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 662s ok 2 /rand/double-range 662s # End of rand tests 662s TAP version 14 662s # random seed: R02S92c5fba8e1c485ff9a65a2d00f4806b2 662s 1..848 662s # Start of regex tests 662s ok 1 /regex/properties 662s ok 2 /regex/class 662s ok 3 /regex/lookahead 662s ok 4 /regex/lookbehind 662s ok 5 /regex/subpattern 662s ok 6 /regex/condition 662s ok 7 /regex/recursion 662s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 662s ok 8 /regex/multiline 662s ok 9 /regex/explicit-crlf 662s ok 10 /regex/max-lookbehind 662s ok 11 /regex/compile-errors 662s ok 12 /regex/jit-unsupported-matching 662s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 662s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 662s ok 13 /regex/unmatched-named-subpattern 662s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 662s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 662s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 662s ok - glib/async-close-output-stream.test 662s # Running test: glib/socket-service.test 662s ok - glib/socket-service.test 662s # Running test: glib/rand.test 662s ok - glib/rand.test 662s # Running test: glib/regex.test 662s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 662s ok 14 /regex/compiled-regex-after-jit-failure 662s # Start of new tests 662s ok 15 /regex/new/1 662s ok 16 /regex/new/2 662s ok 17 /regex/new/3 662s ok 18 /regex/new/4 662s ok 19 /regex/new/5 662s ok 20 /regex/new/6 662s ok 21 /regex/new/7 662s ok 22 /regex/new/8 662s ok 23 /regex/new/9 662s ok 24 /regex/new/10 662s ok 25 /regex/new/11 662s ok 26 /regex/new/12 662s ok 27 /regex/new/13 662s ok 28 /regex/new/14 662s ok 29 /regex/new/15 662s ok 30 /regex/new/16 662s ok 31 /regex/new/17 662s ok 32 /regex/new/18 662s ok 33 /regex/new/19 662s ok 34 /regex/new/71 662s ok 35 /regex/new/80 662s ok 36 /regex/new/82 662s # End of new tests 662s # Start of new-check-flags tests 662s ok 37 /regex/new-check-flags/20 662s ok 38 /regex/new-check-flags/21 662s ok 39 /regex/new-check-flags/22 662s ok 40 /regex/new-check-flags/23 662s ok 41 /regex/new-check-flags/24 662s ok 42 /regex/new-check-flags/25 662s ok 43 /regex/new-check-flags/26 662s ok 44 /regex/new-check-flags/27 662s ok 45 /regex/new-check-flags/28 662s ok 46 /regex/new-check-flags/29 662s ok 47 /regex/new-check-flags/30 662s ok 48 /regex/new-check-flags/31 662s ok 49 /regex/new-check-flags/32 662s ok 50 /regex/new-check-flags/33 662s ok 51 /regex/new-check-flags/34 662s ok 52 /regex/new-check-flags/35 662s ok 53 /regex/new-check-flags/36 662s # End of new-check-flags tests 662s # Start of new-fail tests 662s ok 54 /regex/new-fail/37 662s ok 55 /regex/new-fail/38 662s ok 56 /regex/new-fail/39 662s ok 57 /regex/new-fail/40 662s ok 58 /regex/new-fail/41 662s ok 59 /regex/new-fail/42 662s ok 60 /regex/new-fail/43 662s ok 61 /regex/new-fail/44 662s ok 62 /regex/new-fail/45 662s ok 63 /regex/new-fail/46 662s ok 64 /regex/new-fail/47 662s ok 65 /regex/new-fail/48 662s ok 66 /regex/new-fail/49 662s ok 67 /regex/new-fail/50 662s ok 68 /regex/new-fail/51 662s ok 69 /regex/new-fail/52 662s ok 70 /regex/new-fail/53 662s ok 71 /regex/new-fail/54 662s ok 72 /regex/new-fail/55 662s ok 73 /regex/new-fail/56 662s ok 74 /regex/new-fail/57 662s ok 75 /regex/new-fail/58 662s ok 76 /regex/new-fail/59 662s ok 77 /regex/new-fail/60 662s ok 78 /regex/new-fail/61 662s ok 79 /regex/new-fail/62 662s ok 80 /regex/new-fail/63 662s ok 81 /regex/new-fail/64 662s ok 82 /regex/new-fail/65 662s ok 83 /regex/new-fail/66 662s ok 84 /regex/new-fail/67 662s ok 85 /regex/new-fail/68 662s ok 86 /regex/new-fail/69 662s ok 87 /regex/new-fail/70 662s ok 88 /regex/new-fail/72 662s ok 89 /regex/new-fail/73 662s ok 90 /regex/new-fail/74 662s ok 91 /regex/new-fail/75 662s ok 92 /regex/new-fail/76 662s ok 93 /regex/new-fail/77 662s ok 94 /regex/new-fail/78 662s ok 95 /regex/new-fail/79 662s ok 96 /regex/new-fail/81 662s ok 97 /regex/new-fail/83 662s ok 98 /regex/new-fail/84 662s ok 99 /regex/new-fail/85 662s ok 100 /regex/new-fail/86 662s ok 101 /regex/new-fail/87 662s ok 102 /regex/new-fail/88 662s ok 103 /regex/new-fail/89 662s ok 104 /regex/new-fail/90 662s ok 105 /regex/new-fail/91 662s # End of new-fail tests 662s # Start of match-simple tests 662s ok 106 /regex/match-simple/92 662s ok 107 /regex/match-simple/93 662s ok 108 /regex/match-simple/94 662s ok 109 /regex/match-simple/95 662s ok 110 /regex/match-simple/96 662s ok 111 /regex/match-simple/97 662s ok 112 /regex/match-simple/98 662s ok 113 /regex/match-simple/99 662s ok 114 /regex/match-simple/100 662s ok 115 /regex/match-simple/101 662s ok 116 /regex/match-simple/102 662s ok 117 /regex/match-simple/103 662s ok 118 /regex/match-simple/104 662s ok 119 /regex/match-simple/105 662s ok 120 /regex/match-simple/106 662s ok 121 /regex/match-simple/107 662s ok 122 /regex/match-simple/108 662s ok 123 /regex/match-simple/109 662s ok 124 /regex/match-simple/110 662s ok 125 /regex/match-simple/111 662s ok 126 /regex/match-simple/112 662s ok 127 /regex/match-simple/113 662s ok 128 /regex/match-simple/114 662s ok 129 /regex/match-simple/115 662s ok 130 /regex/match-simple/116 662s ok 131 /regex/match-simple/117 662s ok 132 /regex/match-simple/118 662s ok 133 /regex/match-simple/119 662s ok 134 /regex/match-simple/120 662s ok 135 /regex/match-simple/121 662s ok 136 /regex/match-simple/122 662s ok 137 /regex/match-simple/123 662s ok 138 /regex/match-simple/124 662s ok 139 /regex/match-simple/125 662s ok 140 /regex/match-simple/126 662s ok 141 /regex/match-simple/127 662s ok 142 /regex/match-simple/128 662s ok 143 /regex/match-simple/129 662s ok 144 /regex/match-simple/130 662s ok 145 /regex/match-simple/131 662s ok 146 /regex/match-simple/132 662s ok 147 /regex/match-simple/133 662s ok 148 /regex/match-simple/134 662s ok 149 /regex/match-simple/135 662s ok 150 /regex/match-simple/136 662s ok 151 /regex/match-simple/137 662s ok 152 /regex/match-simple/138 662s ok 153 /regex/match-simple/139 662s ok 154 /regex/match-simple/140 662s ok 155 /regex/match-simple/141 662s ok 156 /regex/match-simple/142 662s ok 157 /regex/match-simple/143 662s ok 158 /regex/match-simple/144 662s ok 159 /regex/match-simple/145 662s ok 160 /regex/match-simple/146 662s ok 161 /regex/match-simple/147 662s ok 162 /regex/match-simple/148 662s ok 163 /regex/match-simple/149 662s ok 164 /regex/match-simple/150 662s ok 165 /regex/match-simple/151 662s ok 166 /regex/match-simple/152 662s ok 167 /regex/match-simple/153 662s ok 168 /regex/match-simple/154 662s ok 169 /regex/match-simple/155 662s ok 170 /regex/match-simple/156 662s ok 171 /regex/match-simple/157 662s ok 172 /regex/match-simple/158 662s ok 173 /regex/match-simple/159 662s ok 174 /regex/match-simple/160 662s ok 175 /regex/match-simple/161 662s ok 176 /regex/match-simple/162 662s ok 177 /regex/match-simple/163 662s ok 178 /regex/match-simple/164 662s # End of match-simple tests 662s # Start of match-simple-optimized tests 662s ok 179 /regex/match-simple-optimized/92 662s ok 180 /regex/match-simple-optimized/93 662s ok 181 /regex/match-simple-optimized/94 662s ok 182 /regex/match-simple-optimized/95 662s ok 183 /regex/match-simple-optimized/96 662s ok 184 /regex/match-simple-optimized/97 662s ok 185 /regex/match-simple-optimized/98 662s ok 186 /regex/match-simple-optimized/99 662s ok 187 /regex/match-simple-optimized/100 662s ok 188 /regex/match-simple-optimized/101 662s ok 189 /regex/match-simple-optimized/102 662s ok 190 /regex/match-simple-optimized/103 662s ok 191 /regex/match-simple-optimized/104 662s ok 192 /regex/match-simple-optimized/105 662s ok 193 /regex/match-simple-optimized/106 662s ok 194 /regex/match-simple-optimized/107 662s ok 195 /regex/match-simple-optimized/108 662s ok 196 /regex/match-simple-optimized/109 662s ok 197 /regex/match-simple-optimized/110 662s ok 198 /regex/match-simple-optimized/111 662s ok 199 /regex/match-simple-optimized/112 662s ok 200 /regex/match-simple-optimized/113 662s ok 201 /regex/match-simple-optimized/114 662s ok 202 /regex/match-simple-optimized/115 662s ok 203 /regex/match-simple-optimized/116 662s ok 204 /regex/match-simple-optimized/117 662s ok 205 /regex/match-simple-optimized/118 662s ok 206 /regex/match-simple-optimized/119 662s ok 207 /regex/match-simple-optimized/120 662s ok 208 /regex/match-simple-optimized/121 662s ok 209 /regex/match-simple-optimized/122 662s ok 210 /regex/match-simple-optimized/123 662s ok 211 /regex/match-simple-optimized/124 662s ok 212 /regex/match-simple-optimized/125 662s ok 213 /regex/match-simple-optimized/126 662s ok 214 /regex/match-simple-optimized/127 662s ok 215 /regex/match-simple-optimized/128 662s ok 216 /regex/match-simple-optimized/129 662s ok 217 /regex/match-simple-optimized/130 662s ok 218 /regex/match-simple-optimized/131 662s ok 219 /regex/match-simple-optimized/132 662s ok 220 /regex/match-simple-optimized/133 662s ok 221 /regex/match-simple-optimized/134 662s ok 222 /regex/match-simple-optimized/135 662s ok 223 /regex/match-simple-optimized/136 662s ok 224 /regex/match-simple-optimized/137 662s ok 225 /regex/match-simple-optimized/138 662s ok 226 /regex/match-simple-optimized/139 662s ok 227 /regex/match-simple-optimized/140 662s ok 228 /regex/match-simple-optimized/141 662s ok 229 /regex/match-simple-optimized/142 662s ok 230 /regex/match-simple-optimized/143 662s ok 231 /regex/match-simple-optimized/144 662s ok 232 /regex/match-simple-optimized/145 662s ok 233 /regex/match-simple-optimized/146 662s ok 234 /regex/match-simple-optimized/147 662s ok 235 /regex/match-simple-optimized/148 662s ok 236 /regex/match-simple-optimized/149 662s ok 237 /regex/match-simple-optimized/150 662s ok 238 /regex/match-simple-optimized/151 662s ok 239 /regex/match-simple-optimized/152 662s ok 240 /regex/match-simple-optimized/153 662s ok 241 /regex/match-simple-optimized/154 662s ok 242 /regex/match-simple-optimized/155 662s ok 243 /regex/match-simple-optimized/156 662s ok 244 /regex/match-simple-optimized/157 662s ok 245 /regex/match-simple-optimized/158 662s ok 246 /regex/match-simple-optimized/159 662s ok 247 /regex/match-simple-optimized/160 662s ok 248 /regex/match-simple-optimized/161 662s ok 249 /regex/match-simple-optimized/162 662s ok 250 /regex/match-simple-optimized/163 662s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 662s ok 251 /regex/match-simple-optimized/164 662s # End of match-simple-optimized tests 662s # Start of match tests 662s ok 252 /regex/match/165 662s ok 253 /regex/match/166 662s ok 254 /regex/match/167 662s ok 255 /regex/match/168 662s ok 256 /regex/match/169 662s ok 257 /regex/match/170 662s ok 258 /regex/match/171 662s ok 259 /regex/match/172 662s ok 260 /regex/match/173 662s ok 261 /regex/match/174 662s ok 262 /regex/match/175 662s ok 263 /regex/match/176 662s ok 264 /regex/match/177 662s ok 265 /regex/match/178 662s ok 266 /regex/match/179 662s ok 267 /regex/match/180 662s ok 268 /regex/match/181 662s ok 269 /regex/match/182 662s ok 270 /regex/match/183 662s ok 271 /regex/match/184 662s ok 272 /regex/match/185 662s ok 273 /regex/match/186 662s ok 274 /regex/match/187 662s ok 275 /regex/match/188 662s ok 276 /regex/match/189 662s ok 277 /regex/match/190 662s ok 278 /regex/match/191 662s ok 279 /regex/match/192 662s ok 280 /regex/match/193 662s ok 281 /regex/match/194 662s ok 282 /regex/match/195 662s ok 283 /regex/match/196 662s ok 284 /regex/match/197 662s ok 285 /regex/match/198 662s ok 286 /regex/match/199 662s ok 287 /regex/match/200 662s ok 288 /regex/match/201 662s ok 289 /regex/match/202 662s ok 290 /regex/match/203 662s ok 291 /regex/match/204 662s ok 292 /regex/match/205 662s ok 293 /regex/match/206 662s ok 294 /regex/match/207 662s ok 295 /regex/match/208 662s ok 296 /regex/match/209 662s ok 297 /regex/match/210 662s ok 298 /regex/match/211 662s ok 299 /regex/match/212 662s ok 300 /regex/match/213 662s ok 301 /regex/match/214 662s ok 302 /regex/match/215 662s ok 303 /regex/match/216 662s ok 304 /regex/match/217 662s ok 305 /regex/match/218 662s ok 306 /regex/match/219 662s ok 307 /regex/match/220 662s ok 308 /regex/match/221 662s ok 309 /regex/match/222 662s ok 310 /regex/match/223 662s ok 311 /regex/match/224 662s ok 312 /regex/match/225 662s ok 313 /regex/match/226 662s ok 314 /regex/match/227 662s ok 315 /regex/match/228 662s ok 316 /regex/match/229 662s ok 317 /regex/match/230 662s ok 318 /regex/match/231 662s ok 319 /regex/match/232 662s ok 320 /regex/match/233 662s ok 321 /regex/match/234 662s ok 322 /regex/match/235 662s ok 323 /regex/match/236 662s ok 324 /regex/match/237 662s ok 325 /regex/match/238 662s ok 326 /regex/match/239 662s ok 327 /regex/match/240 662s ok 328 /regex/match/241 662s ok 329 /regex/match/242 662s ok 330 /regex/match/243 662s ok 331 /regex/match/244 662s ok 332 /regex/match/245 662s ok 333 /regex/match/246 662s ok 334 /regex/match/partial281 662s ok 335 /regex/match/partial282 662s ok 336 /regex/match/partial283 662s ok 337 /regex/match/partial284 662s ok 338 /regex/match/partial285 662s ok 339 /regex/match/partial286 662s ok 340 /regex/match/partial287 662s ok 341 /regex/match/partial288 662s ok 342 /regex/match/partial289 662s ok 343 /regex/match/partial290 662s ok 344 /regex/match/partial291 662s ok 345 /regex/match/partial292 662s ok 346 /regex/match/partial293 662s ok 347 /regex/match/partial294 662s ok 348 /regex/match/partial295 662s ok 349 /regex/match/partial296 662s ok 350 /regex/match/partial297 662s ok 351 /regex/match/partial298 662s ok 352 /regex/match/partial299 662s ok 353 /regex/match/partial300 662s ok 354 /regex/match/partial301 662s ok 355 /regex/match/partial302 662s # Start of next0 tests 662s ok 356 /regex/match/next0/247 662s ok 357 /regex/match/next0/248 662s ok 358 /regex/match/next0/249 662s ok 359 /regex/match/next0/250 662s # End of next0 tests 662s # Start of next1 tests 662s ok 360 /regex/match/next1/251 662s ok 361 /regex/match/next1/252 662s ok 362 /regex/match/next1/253 662s ok 363 /regex/match/next1/254 662s ok 364 /regex/match/next1/255 662s # End of next1 tests 662s # Start of next2 tests 662s ok 365 /regex/match/next2/256 662s ok 366 /regex/match/next2/257 662s ok 367 /regex/match/next2/258 662s ok 368 /regex/match/next2/259 662s ok 369 /regex/match/next2/260 662s ok 370 /regex/match/next2/261 662s ok 371 /regex/match/next2/262 662s ok 372 /regex/match/next2/263 662s # End of next2 tests 662s # Start of next3 tests 662s ok 373 /regex/match/next3/264 662s ok 374 /regex/match/next3/265 662s ok 375 /regex/match/next3/266 662s ok 376 /regex/match/next3/267 662s ok 377 /regex/match/next3/268 662s ok 378 /regex/match/next3/269 662s # End of next3 tests 662s # Start of next4 tests 662s ok 379 /regex/match/next4/270 662s # End of next4 tests 662s # Start of count tests 662s ok 380 /regex/match/count/271 662s ok 381 /regex/match/count/272 662s ok 382 /regex/match/count/273 662s ok 383 /regex/match/count/274 662s ok 384 /regex/match/count/275 662s ok 385 /regex/match/count/276 662s ok 386 /regex/match/count/277 662s ok 387 /regex/match/count/278 662s ok 388 /regex/match/count/279 662s ok 389 /regex/match/count/280 662s # End of count tests 662s # Start of count-optimized tests 662s ok 390 /regex/match/count-optimized/271 662s ok 391 /regex/match/count-optimized/272 662s ok 392 /regex/match/count-optimized/273 662s ok 393 /regex/match/count-optimized/274 662s ok 394 /regex/match/count-optimized/275 662s ok 395 /regex/match/count-optimized/276 662s ok 396 /regex/match/count-optimized/277 662s ok 397 /regex/match/count-optimized/278 662s ok 398 /regex/match/count-optimized/279 662s ok 399 /regex/match/count-optimized/280 662s # End of count-optimized tests 662s # Start of partial-optimized tests 662s ok 400 /regex/match/partial-optimized/281 662s ok 401 /regex/match/partial-optimized/282 662s ok 402 /regex/match/partial-optimized/283 662s ok 403 /regex/match/partial-optimized/284 662s ok 404 /regex/match/partial-optimized/285 662s ok 405 /regex/match/partial-optimized/286 662s ok 406 /regex/match/partial-optimized/287 662s ok 407 /regex/match/partial-optimized/288 662s ok 408 /regex/match/partial-optimized/289 662s ok 409 /regex/match/partial-optimized/290 662s ok 410 /regex/match/partial-optimized/291 662s ok 411 /regex/match/partial-optimized/292 662s ok 412 /regex/match/partial-optimized/293 662s ok 413 /regex/match/partial-optimized/294 662s ok 414 /regex/match/partial-optimized/295 662s ok 415 /regex/match/partial-optimized/296 662s ok 416 /regex/match/partial-optimized/297 662s ok 417 /regex/match/partial-optimized/298 662s ok 418 /regex/match/partial-optimized/299 662s ok 419 /regex/match/partial-optimized/300 662s ok 420 /regex/match/partial-optimized/301 662s ok 421 /regex/match/partial-optimized/302 662s # End of partial-optimized tests 662s # Start of subpattern tests 662s ok 422 /regex/match/subpattern/303 662s ok 423 /regex/match/subpattern/304 662s ok 424 /regex/match/subpattern/305 662s ok 425 /regex/match/subpattern/306 662s ok 426 /regex/match/subpattern/307 662s ok 427 /regex/match/subpattern/308 662s ok 428 /regex/match/subpattern/309 662s ok 429 /regex/match/subpattern/310 662s ok 430 /regex/match/subpattern/311 662s ok 431 /regex/match/subpattern/312 662s ok 432 /regex/match/subpattern/313 662s ok 433 /regex/match/subpattern/314 662s ok 434 /regex/match/subpattern/315 662s # Start of named tests 662s # Start of dupnames tests 662s ok 435 /regex/match/subpattern/named/dupnames/325 662s ok 436 /regex/match/subpattern/named/dupnames/326 662s ok 437 /regex/match/subpattern/named/dupnames/327 662s ok 438 /regex/match/subpattern/named/dupnames/328 662s ok 439 /regex/match/subpattern/named/dupnames/329 662s # End of dupnames tests 662s # End of named tests 662s # End of subpattern tests 662s # Start of subpattern-optimized tests 662s ok 440 /regex/match/subpattern-optimized/303 662s ok 441 /regex/match/subpattern-optimized/304 662s ok 442 /regex/match/subpattern-optimized/305 662s ok 443 /regex/match/subpattern-optimized/306 662s ok 444 /regex/match/subpattern-optimized/307 662s ok 445 /regex/match/subpattern-optimized/308 662s ok 446 /regex/match/subpattern-optimized/309 662s ok 447 /regex/match/subpattern-optimized/310 662s ok 448 /regex/match/subpattern-optimized/311 662s ok 449 /regex/match/subpattern-optimized/312 662s ok 450 /regex/match/subpattern-optimized/313 662s ok 451 /regex/match/subpattern-optimized/314 662s ok 452 /regex/match/subpattern-optimized/315 662s # End of subpattern-optimized tests 662s # Start of named tests 662s # Start of subpattern tests 662s ok 453 /regex/match/named/subpattern/316 662s ok 454 /regex/match/named/subpattern/317 662s ok 455 /regex/match/named/subpattern/318 662s ok 456 /regex/match/named/subpattern/319 662s ok 457 /regex/match/named/subpattern/320 662s ok 458 /regex/match/named/subpattern/321 662s ok 459 /regex/match/named/subpattern/322 662s ok 460 /regex/match/named/subpattern/323 662s ok 461 /regex/match/named/subpattern/324 662s ok 462 /regex/match/named/subpattern/330 662s ok 463 /regex/match/named/subpattern/331 662s ok 464 /regex/match/named/subpattern/332 662s ok 465 /regex/match/named/subpattern/333 662s ok 466 /regex/match/named/subpattern/334 662s # End of subpattern tests 662s # End of named tests 662s # End of match tests 662s # Start of match-optimized tests 662s ok 467 /regex/match-optimized/165 662s ok 468 /regex/match-optimized/166 662s ok 469 /regex/match-optimized/167 662s ok 470 /regex/match-optimized/168 662s ok 471 /regex/match-optimized/169 662s ok 472 /regex/match-optimized/170 662s ok 473 /regex/match-optimized/171 662s ok 474 /regex/match-optimized/172 662s ok 475 /regex/match-optimized/173 662s ok 476 /regex/match-optimized/174 662s ok 477 /regex/match-optimized/175 662s ok 478 /regex/match-optimized/176 662s ok 479 /regex/match-optimized/177 662s ok 480 /regex/match-optimized/178 662s ok 481 /regex/match-optimized/179 662s ok 482 /regex/match-optimized/180 662s ok 483 /regex/match-optimized/181 662s ok 484 /regex/match-optimized/182 662s ok 485 /regex/match-optimized/183 662s ok 486 /regex/match-optimized/184 662s ok 487 /regex/match-optimized/185 662s ok 488 /regex/match-optimized/186 662s ok 489 /regex/match-optimized/187 662s ok 490 /regex/match-optimized/188 662s ok 491 /regex/match-optimized/189 662s ok 492 /regex/match-optimized/190 662s ok 493 /regex/match-optimized/191 662s ok 494 /regex/match-optimized/192 662s ok 495 /regex/match-optimized/193 662s ok 496 /regex/match-optimized/194 662s ok 497 /regex/match-optimized/195 662s ok 498 /regex/match-optimized/196 662s ok 499 /regex/match-optimized/197 662s ok 500 /regex/match-optimized/198 662s ok 501 /regex/match-optimized/199 662s ok 502 /regex/match-optimized/200 662s ok 503 /regex/match-optimized/201 662s ok 504 /regex/match-optimized/202 662s ok 505 /regex/match-optimized/203 662s ok 506 /regex/match-optimized/204 662s ok 507 /regex/match-optimized/205 662s ok 508 /regex/match-optimized/206 662s ok 509 /regex/match-optimized/207 662s ok 510 /regex/match-optimized/208 662s ok 511 /regex/match-optimized/209 662s ok 512 /regex/match-optimized/210 662s ok 513 /regex/match-optimized/211 662s ok 514 /regex/match-optimized/212 662s ok 515 /regex/match-optimized/213 662s ok 516 /regex/match-optimized/214 662s ok 517 /regex/match-optimized/215 662s ok 518 /regex/match-optimized/216 662s ok 519 /regex/match-optimized/217 662s ok 520 /regex/match-optimized/218 662s ok 521 /regex/match-optimized/219 662s ok 522 /regex/match-optimized/220 662s ok 523 /regex/match-optimized/221 662s ok 524 /regex/match-optimized/222 662s ok 525 /regex/match-optimized/223 662s ok 526 /regex/match-optimized/224 662s ok 527 /regex/match-optimized/225 662s ok 528 /regex/match-optimized/226 662s ok 529 /regex/match-optimized/227 662s ok 530 /regex/match-optimized/228 662s ok 531 /regex/match-optimized/229 662s ok 532 /regex/match-optimized/230 662s ok 533 /regex/match-optimized/231 662s ok 534 /regex/match-optimized/232 662s ok 535 /regex/match-optimized/233 662s ok 536 /regex/match-optimized/234 662s ok 537 /regex/match-optimized/235 662s ok 538 /regex/match-optimized/236 662s ok 539 /regex/match-optimized/237 662s ok 540 /regex/match-optimized/238 662s ok 541 /regex/match-optimized/239 662s ok 542 /regex/match-optimized/240 662s ok 543 /regex/match-optimized/241 662s ok 544 /regex/match-optimized/242 662s ok 545 /regex/match-optimized/243 662s ok 546 /regex/match-optimized/244 662s ok 547 /regex/match-optimized/245 662s ok 548 /regex/match-optimized/246 662s # End of match-optimized tests 662s # Start of fetch-all0 tests 662s ok 549 /regex/fetch-all0/335 662s ok 550 /regex/fetch-all0/336 662s # End of fetch-all0 tests 662s # Start of fetch-all1 tests 662s ok 551 /regex/fetch-all1/337 662s ok 552 /regex/fetch-all1/338 662s ok 553 /regex/fetch-all1/339 662s # End of fetch-all1 tests 662s # Start of fetch-all2 tests 662s ok 554 /regex/fetch-all2/340 662s ok 555 /regex/fetch-all2/341 662s ok 556 /regex/fetch-all2/342 662s # End of fetch-all2 tests 662s # Start of fetch-all3 tests 662s ok 557 /regex/fetch-all3/343 662s ok 558 /regex/fetch-all3/344 662s ok 559 /regex/fetch-all3/345 662s ok 560 /regex/fetch-all3/346 662s ok 561 /regex/fetch-all3/347 662s # End of fetch-all3 tests 662s # Start of split tests 662s # Start of simple0 tests 662s ok 562 /regex/split/simple0/348 662s ok 563 /regex/split/simple0/349 662s ok 564 /regex/split/simple0/364 662s ok 565 /regex/split/simple0/365 662s # End of simple0 tests 662s # Start of simple1 tests 662s ok 566 /regex/split/simple1/350 662s ok 567 /regex/split/simple1/351 662s # End of simple1 tests 662s # Start of simple2 tests 662s ok 568 /regex/split/simple2/352 662s ok 569 /regex/split/simple2/358 662s ok 570 /regex/split/simple2/360 662s # End of simple2 tests 662s # Start of simple3 tests 662s ok 571 /regex/split/simple3/353 662s ok 572 /regex/split/simple3/354 662s ok 573 /regex/split/simple3/355 662s ok 574 /regex/split/simple3/356 662s ok 575 /regex/split/simple3/357 662s ok 576 /regex/split/simple3/359 662s ok 577 /regex/split/simple3/361 662s ok 578 /regex/split/simple3/362 662s ok 579 /regex/split/simple3/363 662s # End of simple3 tests 662s # End of split tests 662s # Start of split0 tests 662s ok 580 /regex/split0/366 662s ok 581 /regex/split0/368 662s # End of split0 tests 662s # Start of full-split0 tests 662s ok 582 /regex/full-split0/367 662s ok 583 /regex/full-split0/369 662s ok 584 /regex/full-split0/370 662s ok 585 /regex/full-split0/371 662s ok 586 /regex/full-split0/372 662s # End of full-split0 tests 662s # Start of split1 tests 662s ok 587 /regex/split1/373 662s ok 588 /regex/split1/376 662s # End of split1 tests 662s # Start of full-split1 tests 662s ok 589 /regex/full-split1/374 662s ok 590 /regex/full-split1/375 662s ok 591 /regex/full-split1/377 662s ok 592 /regex/full-split1/378 662s ok 593 /regex/full-split1/404 662s # End of full-split1 tests 662s # Start of split2 tests 662s ok 594 /regex/split2/379 662s ok 595 /regex/split2/383 662s ok 596 /regex/split2/395 662s # End of split2 tests 662s # Start of full-split2 tests 662s ok 597 /regex/full-split2/380 662s ok 598 /regex/full-split2/381 662s ok 599 /regex/full-split2/382 662s ok 600 /regex/full-split2/384 662s ok 601 /regex/full-split2/396 662s ok 602 /regex/full-split2/399 662s ok 603 /regex/full-split2/405 662s # End of full-split2 tests 662s # Start of split3 tests 662s ok 604 /regex/split3/385 662s ok 605 /regex/split3/387 662s ok 606 /regex/split3/389 662s ok 607 /regex/split3/391 662s ok 608 /regex/split3/393 662s ok 609 /regex/split3/397 662s ok 610 /regex/split3/400 662s ok 611 /regex/split3/402 662s # End of split3 tests 662s # Start of full-split3 tests 662s ok 612 /regex/full-split3/386 662s ok 613 /regex/full-split3/388 662s ok 614 /regex/full-split3/390 662s ok 615 /regex/full-split3/392 662s ok 616 /regex/full-split3/394 662s ok 617 /regex/full-split3/398 662s ok 618 /regex/full-split3/401 662s ok 619 /regex/full-split3/403 662s ok 620 /regex/full-split3/406 662s ok 621 /regex/full-split3/407 662s # End of full-split3 tests 662s # Start of check-repacement tests 662s ok 622 /regex/check-repacement/408 662s ok 623 /regex/check-repacement/409 662s ok 624 /regex/check-repacement/410 662s ok 625 /regex/check-repacement/411 662s ok 626 /regex/check-repacement/412 662s ok 627 /regex/check-repacement/413 662s ok 628 /regex/check-repacement/414 662s ok 629 /regex/check-repacement/415 662s # End of check-repacement tests 662s # Start of expand tests 662s ok 630 /regex/expand/416 662s ok 631 /regex/expand/417 662s ok 632 /regex/expand/418 662s ok 633 /regex/expand/419 662s ok 634 /regex/expand/420 662s ok 635 /regex/expand/421 662s ok 636 /regex/expand/422 662s ok 637 /regex/expand/423 662s ok 638 /regex/expand/424 662s ok 639 /regex/expand/425 662s ok 640 /regex/expand/426 662s ok 641 /regex/expand/427 662s ok 642 /regex/expand/428 662s ok 643 /regex/expand/429 662s ok 644 /regex/expand/430 662s ok 645 /regex/expand/431 662s ok 646 /regex/expand/432 662s ok 647 /regex/expand/433 662s ok 648 /regex/expand/434 662s ok 649 /regex/expand/435 662s ok 650 /regex/expand/436 662s ok 651 /regex/expand/437 662s ok 652 /regex/expand/438 662s ok 653 /regex/expand/439 662s ok 654 /regex/expand/440 662s ok 655 /regex/expand/441 662s ok 656 /regex/expand/442 662s ok 657 /regex/expand/443 662s ok 658 /regex/expand/444 662s ok 659 /regex/expand/445 662s ok 660 /regex/expand/446 662s ok 661 /regex/expand/447 662s ok 662 /regex/expand/448 662s ok 663 /regex/expand/449 662s ok 664 /regex/expand/450 662s ok 665 /regex/expand/451 662s ok 666 /regex/expand/452 662s ok 667 /regex/expand/453 662s ok 668 /regex/expand/454 662s ok 669 /regex/expand/455 662s ok 670 /regex/expand/456 662s ok 671 /regex/expand/457 662s ok 672 /regex/expand/458 662s ok 673 /regex/expand/459 662s ok 674 /regex/expand/460 662s ok 675 /regex/expand/461 662s ok 676 /regex/expand/462 662s ok 677 /regex/expand/463 662s ok 678 /regex/expand/464 662s ok 679 /regex/expand/465 662s ok 680 /regex/expand/466 662s ok 681 /regex/expand/467 662s ok 682 /regex/expand/468 662s ok 683 /regex/expand/469 662s ok 684 /regex/expand/470 662s ok 685 /regex/expand/471 662s ok 686 /regex/expand/472 662s ok 687 /regex/expand/473 662s ok 688 /regex/expand/474 662s ok 689 /regex/expand/475 662s ok 690 /regex/expand/476 662s ok 691 /regex/expand/477 662s ok 692 /regex/expand/478 662s ok 693 /regex/expand/479 662s ok 694 /regex/expand/480 662s ok 695 /regex/expand/481 662s # End of expand tests 662s # Start of replace tests 662s ok 696 /regex/replace/482 662s ok 697 /regex/replace/483 662s ok 698 /regex/replace/484 662s ok 699 /regex/replace/485 662s ok 700 /regex/replace/486 662s ok 701 /regex/replace/487 662s ok 702 /regex/replace/488 662s ok 703 /regex/replace/489 662s ok 704 /regex/replace/490 662s ok 705 /regex/replace/491 662s ok 706 /regex/replace/492 662s ok 707 /regex/replace/493 662s ok 708 /regex/replace/494 662s ok 709 /regex/replace/495 662s ok 710 /regex/replace/496 662s ok 711 /regex/replace/497 662s ok 712 /regex/replace/498 662s ok 713 /regex/replace/499 662s ok 714 /regex/replace/500 662s ok 715 /regex/replace/501 662s ok 716 /regex/replace/502 662s ok 717 /regex/replace/503 662s ok 718 /regex/replace/504 662s ok 719 /regex/replace/505 662s ok 720 /regex/replace/506 662s ok 721 /regex/replace/507 662s ok 722 /regex/replace/508 662s ok 723 /regex/replace/509 662s # End of replace tests 662s # Start of replace-optimized tests 662s ok 724 /regex/replace-optimized/482 662s ok 725 /regex/replace-optimized/483 662s ok 726 /regex/replace-optimized/484 662s ok 727 /regex/replace-optimized/485 662s ok 728 /regex/replace-optimized/486 662s ok 729 /regex/replace-optimized/487 662s ok 730 /regex/replace-optimized/488 662s ok 731 /regex/replace-optimized/489 662s ok 732 /regex/replace-optimized/490 662s ok 733 /regex/replace-optimized/491 662s ok 734 /regex/replace-optimized/492 662s ok 735 /regex/replace-optimized/493 662s ok 736 /regex/replace-optimized/494 662s ok 737 /regex/replace-optimized/495 662s ok 738 /regex/replace-optimized/496 662s ok 739 /regex/replace-optimized/497 662s ok 740 /regex/replace-optimized/498 662s ok 741 /regex/replace-optimized/499 662s ok 742 /regex/replace-optimized/500 662s ok 743 /regex/replace-optimized/501 662s ok 744 /regex/replace-optimized/502 662s ok 745 /regex/replace-optimized/503 662s ok 746 /regex/replace-optimized/504 662s ok 747 /regex/replace-optimized/505 662s ok 748 /regex/replace-optimized/506 662s ok 749 /regex/replace-optimized/507 662s ok 750 /regex/replace-optimized/508 662s ok 751 /regex/replace-optimized/509 662s # End of replace-optimized tests 662s # Start of replace-literally tests 662s ok 752 /regex/replace-literally/510 662s ok 753 /regex/replace-literally/511 662s ok 754 /regex/replace-literally/512 662s ok 755 /regex/replace-literally/513 662s ok 756 /regex/replace-literally/514 662s ok 757 /regex/replace-literally/515 662s ok 758 /regex/replace-literally/516 662s ok 759 /regex/replace-literally/517 662s ok 760 /regex/replace-literally/518 662s ok 761 /regex/replace-literally/519 662s ok 762 /regex/replace-literally/520 662s ok 763 /regex/replace-literally/521 662s ok 764 /regex/replace-literally/522 662s ok - glib/regex.test 662s # Running test: glib/signals-refcount4.test 662s ok 765 /regex/replace-literally/523 662s ok 766 /regex/replace-literally/524 662s ok 767 /regex/replace-literally/525 662s ok 768 /regex/replace-literally/526 662s ok 769 /regex/replace-literally/527 662s ok 770 /regex/replace-literally/528 662s ok 771 /regex/replace-literally/529 662s # End of replace-literally tests 662s # Start of string-number tests 662s ok 772 /regex/string-number/530 662s ok 773 /regex/string-number/531 662s ok 774 /regex/string-number/532 662s ok 775 /regex/string-number/533 662s ok 776 /regex/string-number/534 662s ok 777 /regex/string-number/535 662s ok 778 /regex/string-number/536 662s ok 779 /regex/string-number/537 662s ok 780 /regex/string-number/538 662s ok 781 /regex/string-number/539 662s ok 782 /regex/string-number/540 662s ok 783 /regex/string-number/541 662s ok 784 /regex/string-number/542 662s ok 785 /regex/string-number/543 662s ok 786 /regex/string-number/544 662s # End of string-number tests 662s # Start of escape_nul tests 662s ok 787 /regex/escape_nul/545 662s ok 788 /regex/escape_nul/546 662s ok 789 /regex/escape_nul/547 662s ok 790 /regex/escape_nul/548 662s ok 791 /regex/escape_nul/549 662s ok 792 /regex/escape_nul/550 662s ok 793 /regex/escape_nul/551 662s ok 794 /regex/escape_nul/552 662s ok 795 /regex/escape_nul/553 662s ok 796 /regex/escape_nul/554 662s ok 797 /regex/escape_nul/555 662s ok 798 /regex/escape_nul/556 662s ok 799 /regex/escape_nul/557 662s ok 800 /regex/escape_nul/558 662s ok 801 /regex/escape_nul/559 662s # End of escape_nul tests 662s # Start of escape tests 662s ok 802 /regex/escape/560 662s ok 803 /regex/escape/561 662s ok 804 /regex/escape/562 662s ok 805 /regex/escape/563 662s ok 806 /regex/escape/564 662s ok 807 /regex/escape/565 662s ok 808 /regex/escape/566 662s ok 809 /regex/escape/567 662s ok 810 /regex/escape/568 662s ok 811 /regex/escape/569 662s ok 812 /regex/escape/570 662s ok 813 /regex/escape/571 662s ok 814 /regex/escape/572 662s ok 815 /regex/escape/573 662s ok 816 /regex/escape/574 662s ok 817 /regex/escape/575 662s ok 818 /regex/escape/576 662s ok 819 /regex/escape/577 662s # End of escape tests 662s # Start of match-all0 tests 662s ok 820 /regex/match-all0/578 662s ok 821 /regex/match-all0/580 662s # End of match-all0 tests 662s # Start of match-all-full0 tests 662s ok 822 /regex/match-all-full0/579 662s ok 823 /regex/match-all-full0/581 662s ok 824 /regex/match-all-full0/582 662s ok 825 /regex/match-all-full0/583 662s # End of match-all-full0 tests 662s # Start of match-all1 tests 662s ok 826 /regex/match-all1/584 662s ok 827 /regex/match-all1/586 662s ok 828 /regex/match-all1/591 662s # End of match-all1 tests 662s # Start of match-all-full1 tests 662s ok 829 /regex/match-all-full1/585 662s ok 830 /regex/match-all-full1/587 662s ok 831 /regex/match-all-full1/588 662s ok 832 /regex/match-all-full1/589 662s ok 833 /regex/match-all-full1/590 662s ok 834 /regex/match-all-full1/592 662s # End of match-all-full1 tests 662s # Start of match-all2 tests 662s ok 835 /regex/match-all2/593 662s ok 836 /regex/match-all2/595 662s ok 837 /regex/match-all2/597 662s # End of match-all2 tests 662s # Start of match-all-full2 tests 662s ok 838 /regex/match-all-full2/594 662s ok 839 /regex/match-all-full2/596 662s ok 840 /regex/match-all-full2/598 662s # End of match-all-full2 tests 662s # Start of match-all3 tests 662s ok 841 /regex/match-all3/599 662s ok 842 /regex/match-all3/601 662s # End of match-all3 tests 662s # Start of match-all-full3 tests 662s ok 843 /regex/match-all-full3/600 662s ok 844 /regex/match-all-full3/602 662s # End of match-all-full3 tests 662s # Start of match-notempty tests 662s ok 845 /regex/match-notempty/603 662s # End of match-notempty tests 662s # Start of match-notempty-optimized tests 662s ok 846 /regex/match-notempty-optimized/603 662s # End of match-notempty-optimized tests 662s # Start of match-notempty-atstart tests 662s ok 847 /regex/match-notempty-atstart/604 662s # End of match-notempty-atstart tests 662s # Start of match-notempty-atstart-optimized tests 662s ok 848 /regex/match-notempty-atstart-optimized/604 662s # End of match-notempty-atstart-optimized tests 662s # End of regex tests 662s TAP version 14 662s # random seed: R02See6d2c61337c6a46f4e07db9fd2ce007 662s 1..1 662s # Start of gobject tests 662s # Start of refcount tests 662s # init 0xc6b9e5a85dd0 662s # 662s # init 0xc6b9e5a7c610 662s # 663s # Executing: glib/signals-refcount4.test 667s # dispose 0xc6b9e5a85dd0! 667s # 667s # dispose 0xc6b9e5a7c610! 667s # 667s ok 1 /gobject/refcount/signals 667s # slow test /gobject/refcount/signals executed in 5.00 secs 667s # End of refcount tests 667s # End of gobject tests 667s ok - glib/signals-refcount4.test 667s # Running test: glib/socket.test 667s TAP version 14 667s # random seed: R02Sbed1bed645cb3ea2831c47c30326fd27 667s 1..28 667s # Start of socket tests 668s # Executing: glib/socket.test 668s ok 1 /socket/ipv4_sync 668s # slow test /socket/ipv4_sync executed in 1.00 secs 669s ok 2 /socket/ipv4_async 669s # slow test /socket/ipv4_async executed in 1.00 secs 669s ok 3 /socket/ipv6_sync 669s ok 4 /socket/ipv6_async 669s ok 5 /socket/ipv6_v4mapped 670s ok 6 /socket/close_graceful 670s # slow test /socket/close_graceful executed in 1.00 secs 670s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 670s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 670s ok 8 /socket/fd_reuse 670s ok 9 /socket/address 670s ok 10 /socket/unix-from-fd 670s ok 11 /socket/unix-connection 670s ok 12 /socket/unix-connection-ancillary-data 670s ok 13 /socket/source-postmortem 670s ok 14 /socket/read_write 670s ok 15 /socket/read_writev 670s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 670s ok 16 /socket/receive_bytes 670s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 670s ok 17 /socket/receive_bytes_from 670s # Start of ipv4_sync tests 670s ok 18 /socket/ipv4_sync/datagram 670s # Start of datagram tests 671s ok 19 /socket/ipv4_sync/datagram/timeouts 671s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 671s # End of datagram tests 671s # End of ipv4_sync tests 671s # Start of ipv6_sync tests 671s ok 20 /socket/ipv6_sync/datagram 671s # Start of datagram tests 672s ok 21 /socket/ipv6_sync/datagram/timeouts 672s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 672s # End of datagram tests 672s # End of ipv6_sync tests 672s # Start of reuse tests 672s ok 22 /socket/reuse/tcp 672s ok 23 /socket/reuse/udp 672s # End of reuse tests 672s # Start of get_available tests 673s ok 24 /socket/get_available/datagram 673s ok 25 /socket/get_available/stream 673s # End of get_available tests 673s # Start of credentials tests 673s # Supported on this OS: GCredentials:linux-ucred:pid=0 673s ok 26 /socket/credentials/tcp_client 673s # Supported on this OS: GCredentials:linux-ucred:pid=0 673s ok 27 /socket/credentials/tcp_server 673s # Supported on this OS: GCredentials:linux-ucred:pid=3224,uid=1000,gid=1000 673s ok 28 /socket/credentials/unix_socketpair 673s # End of credentials tests 673s # End of socket tests 673s ok - glib/socket.test 673s # Running test: glib/date.test 673s TAP version 14 673s # random seed: R02S45ac0e0898d0dacd5d6acb6195d26189 673s 1..121 673s # Start of date tests 673s ok 1 /date/basic 673s ok 2 /date/empty 673s ok 3 /date/dmy 673s ok 4 /date/julian 673s ok 5 /date/compare 673s ok 6 /date/dates 673s ok 7 /date/strftime 673s ok 8 /date/two-digit-years 673s ok 9 /date/parse 673s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 673s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 673s ok 11 /date/month_substring 673s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 673s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 673s ok 13 /date/clamp 673s ok 14 /date/order 673s ok 15 /date/copy 673s # Vector 0: 0000-00-00, invalid 673s # Vector 1: 0001-01-01, valid 673s # Vector 2: 0000-01-01, invalid 673s # Vector 3: 2000-02-30, invalid 673s # Vector 4: 2000-02-29, valid 673s # Vector 5: 2001-02-29, invalid 673s # Vector 6: 65535-01-01, valid 673s ok 16 /date/valid-dmy 673s # Start of parse tests 673s # Test 0 673s # Test 1 673s ok 17 /date/parse/invalid 673s # End of parse tests 673s # Start of year tests 673s ok 18 /date/year/1 673s ok 19 /date/year/2 673s ok 20 /date/year/3 673s ok 21 /date/year/4 673s ok 22 /date/year/5 673s ok 23 /date/year/6 673s ok 24 /date/year/7 673s ok 25 /date/year/8 673s ok 26 /date/year/9 673s ok 27 /date/year/10 673s ok 28 /date/year/11 673s ok 29 /date/year/12 673s ok 30 /date/year/13 673s ok 31 /date/year/14 673s ok 32 /date/year/98 673s ok 33 /date/year/99 673s ok 34 /date/year/100 673s ok 35 /date/year/101 673s ok 36 /date/year/102 673s ok 37 /date/year/103 673s ok 38 /date/year/397 673s ok 39 /date/year/398 673s ok 40 /date/year/399 673s ok 41 /date/year/400 673s ok 42 /date/year/401 673s ok 43 /date/year/402 673s ok 44 /date/year/403 673s ok 45 /date/year/404 673s ok 46 /date/year/405 673s ok 47 /date/year/406 673s ok 48 /date/year/1598 673s ok 49 /date/year/1599 673s ok 50 /date/year/1600 673s ok 51 /date/year/1601 673s ok 52 /date/year/1602 673s ok 53 /date/year/1650 673s ok 54 /date/year/1651 673s ok 55 /date/year/1897 673s ok 56 /date/year/1898 673s ok 57 /date/year/1899 673s ok 58 /date/year/1900 673s ok 59 /date/year/1901 673s ok 60 /date/year/1902 673s ok 61 /date/year/1903 673s ok 62 /date/year/1961 673s ok 63 /date/year/1962 673s # Executing: glib/date.test 673s ok 64 /date/year/1963 673s ok 65 /date/year/1964 673s ok 66 /date/year/1965 673s ok 67 /date/year/1967 673s ok 68 /date/year/1968 673s ok 69 /date/year/1969 673s ok 70 /date/year/1970 673s ok 71 /date/year/1971 673s ok 72 /date/year/1972 673s ok 73 /date/year/1973 673s ok 74 /date/year/1974 673s ok 75 /date/year/1975 673s ok 76 /date/year/1976 673s ok 77 /date/year/1977 673s ok 78 /date/year/1978 673s ok 79 /date/year/1979 673s ok 80 /date/year/1980 673s ok 81 /date/year/1981 673s ok 82 /date/year/1982 673s ok 83 /date/year/1983 673s ok 84 /date/year/1984 673s ok 85 /date/year/1985 673s ok 86 /date/year/1986 673s ok 87 /date/year/1987 673s ok 88 /date/year/1988 673s ok 89 /date/year/1989 673s ok 90 /date/year/1990 673s ok 91 /date/year/1991 673s ok 92 /date/year/1992 673s ok 93 /date/year/1993 673s ok 94 /date/year/1994 673s ok 95 /date/year/1995 673s ok 96 /date/year/1996 673s ok 97 /date/year/1997 673s ok 98 /date/year/1998 673s ok 99 /date/year/1999 673s ok 100 /date/year/2000 673s ok 101 /date/year/2001 673s ok 102 /date/year/2002 673s ok 103 /date/year/2003 673s ok 104 /date/year/2004 673s ok 105 /date/year/2005 673s ok 106 /date/year/2006 673s ok 107 /date/year/2007 673s ok 108 /date/year/2008 673s ok 109 /date/year/2009 673s ok 110 /date/year/2010 673s ok 111 /date/year/2011 673s ok 112 /date/year/2012 673s ok 113 /date/year/3000 673s ok 114 /date/year/3001 673s ok 115 /date/year/3002 673s ok 116 /date/year/3998 673s ok 117 /date/year/3999 673s ok 118 /date/year/4000 673s ok 119 /date/year/4001 673s ok 120 /date/year/4002 673s ok - glib/date.test 673s ok 121 /date/year/4003 673s # End of year tests 673s # End of date tests 673s # Running test: glib/gdbus-peer.test 673s TAP version 14 673s # random seed: R02S232e107112f518df6d6333ceea413bc1 673s 1..12 673s # Start of gdbus tests 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/.dirs/runtime 673s # Testing with unix:dir address 673s # Testing with unix:tmpdir address 673s # Testing with unix:path address 673s ok 1 /gdbus/peer-to-peer 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/delayed-message-processing/.dirs/runtime 673s # Testing with unix:dir address 673s ok 2 /gdbus/delayed-message-processing 673s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/nonce-tcp/.dirs/runtime 673s ok 3 /gdbus/nonce-tcp 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/tcp-anonymous/.dirs/runtime 673s ok 4 /gdbus/tcp-anonymous 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/credentials/.dirs/runtime 673s ok 5 /gdbus/credentials 673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/home 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/cache 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/system-config2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/config 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/system-data2 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/data 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/state 673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/codegen-peer-to-peer/.dirs/runtime 673s # Testing with unix:dir address 674s # Machine ID: 124ac7024e1e43e0ab9f927b1dc04d2b 675s ok 6 /gdbus/codegen-peer-to-peer 675s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 675s # Start of peer-to-peer tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/signals/.dirs/runtime 675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 675s # Testing with unix:dir address 675s ok 7 /gdbus/peer-to-peer/signals 675s # Start of invalid tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/server/.dirs/runtime 675s ok 8 /gdbus/peer-to-peer/invalid/server 675s # Start of conn tests 675s # Start of stream tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 675s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 675s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 675s # End of stream tests 675s # Start of addr tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 675s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SNC052/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 675s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 675s # End of addr tests 675s # End of conn tests 675s # End of invalid tests 675s # End of peer-to-peer tests 675s # End of gdbus tests 675s TAP version 14 675s # random seed: R02S8bc73609a1b32688867eee6bc076a473 675s 1..9 675s # Start of glib tests 675s # Start of testing tests 675s # Start of protocol tests 675s ok 1 /glib/testing/protocol/debug 675s ok 2 /glib/testing/protocol/info 675s ok 3 /glib/testing/protocol/message 675s ok 4 /glib/testing/protocol/warning 675s ok 5 /glib/testing/protocol/critical 675s ok 6 /glib/testing/protocol/error 675s ok 7 /glib/testing/protocol/gtest-message 675s ok 8 /glib/testing/protocol/test-message 675s ok 9 /glib/testing/protocol/test-error 675s # End of protocol tests 675s # End of testing tests 675s # End of glib tests 675s TAP version 14 675s # random seed: R02S3e097eb4af51c6fdbfd54b869dd78c3e 675s 1..2 675s # Start of gtask tests 675s # 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. 675s ok 1 /gtask/name 675s # Start of name tests 675s # 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. 675s ok 2 /gtask/name/macro-wrapper 675s # End of name tests 675s # End of gtask tests 675s TAP version 14 675s # random seed: R02Se593f8282e02361293bebf889798f291 675s 1..24 675s # Start of uri tests 675s ok 1 /uri/file-to-uri 675s ok 2 /uri/file-from-uri 675s ok 3 /uri/file-roundtrip 675s ok 4 /uri/list 675s # Test 0: %2Babc %4F 675s # Test 1: %2Babc %4F 675s # Test 2: %00abc %4F 675s # Test 3: /cursors/none.png 675s # Test 4: /cursors%2fbad-subdir/none.png 675s # Test 5: %0 675s # Test 6: %ra 675s # Test 7: %2r 675s # Test 8: Timm B?der 675s # Test 9: (null) 675s ok 5 /uri/unescape-string 675s ok 6 /uri/unescape-segment 675s # Test 0: abcdefgABCDEFG._~ 675s # Test 1: :+ \\?# 675s # Test 2: a+b:c 675s # Test 3: a+b:c\303\234 675s # Test 4: \374;\322 675s # Test 5: \303\261\303( 675s ok 7 /uri/escape-string 675s ok 8 /uri/escape-bytes 675s ok 9 /uri/scheme 675s ok 10 /uri/build 675s ok 11 /uri/split 675s ok 12 /uri/is_valid 675s ok 13 /uri/to-string 675s ok 14 /uri/join 675s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 675s # Combination 0 675s # Combination 1 675s # Combination 2 675s # Combination 3 675s # Combination 4 675s # Combination 5 675s # Combination 6 675s # Combination 7 675s # Combination 8 675s # Combination 9 675s # Combination 10 675s # Combination 11 675s # Combination 12 675s # Combination 13 675s # Combination 14 675s # Combination 15 675s # Combination 16 675s # Combination 17 675s # Combination 18 675s # Combination 19 675s # Combination 20 675s # Combination 21 675s # Combination 22 675s # Combination 23 675s # Combination 24 675s # Combination 25 675s # Combination 26 675s # Combination 27 675s # Combination 28 675s # Combination 29 675s # Combination 30 675s # Combination 31 675s # Combination 32 675s # Combination 33 675s # Combination 34 675s # Combination 35 675s # Combination 36 675s # Combination 37 675s # Combination 38 675s # Combination 39 675s # Combination 40 675s # Combination 41 675s # Combination 42 675s # Combination 43 675s # Combination 44 675s # Combination 45 675s # Combination 46 675s # Combination 47 675s # Combination 48 675s # Combination 49 675s # Combination 50 675s # Combination 51 675s # Combination 52 675s # Combination 53 675s # Combination 54 675s # Combination 55 675s # Combination 56 675s # Combination 57 675s # Combination 58 675s # Combination 59 675s # Combination 60 675s # Combination 61 675s # Combination 62 675s # Combination 63 675s # Combination 64 675s # Combination 65 675s # Combination 66 675s # Combination 67 675s # Combination 68 675s # Combination 69 675s # Combination 70 675s # Combination 71 675s # Combination 72 675s # Combination 73 675s # Combination 74 675s # Combination 75 675s # Combination 76 675s # Combination 77 675s # Combination 78 675s # Combination 79 675s # Combination 80 675s # Combination 81 675s # Combination 82 675s # Combination 83 675s # Combination 84 675s # Combination 85 675s # Combination 86 675s # Combination 87 675s # Combination 88 675s # Combination 89 675s # Combination 90 675s # Combination 91 675s # Combination 92 675s # Combination 93 675s # Combination 94 675s # Combination 95 675s # Combination 96 675s # Combination 97 675s # Combination 98 675s # Combination 99 675s # Combination 100 675s # Combination 101 675s # Combination 102 675s # Combination 103 675s # Combination 104 675s # Combination 105 675s # Combination 106 675s # Combination 107 675s # Combination 108 675s # Combination 109 675s # Combination 110 675s # Combination 111 675s # Combination 112 675s # Combination 113 675s # Combination 114 675s # Combination 115 675s # Combination 116 675s # Combination 117 675s # Combination 118 675s # Combination 119 675s # Combination 120 675s # Combination 121 675s # Combination 122 675s # Combination 123 675s # Combination 124 675s # Combination 125 675s # Combination 126 675s # Combination 127 675s # Combination 128 675s # Combination 129 675s # Combination 130 675s # Combination 131 675s # Combination 132 675s # Combination 133 675s # Combination 134 675s # Combination 135 675s # Combination 136 675s # Combination 137 675s # Combination 138 675s # Combination 139 675s # Combination 140 675s # Combination 141 675s # Combination 142 675s # Combination 143 675s # Combination 144 675s # Combination 145 675s # Combination 146 675s # Combination 147 675s # Combination 148 675s # Combination 149 675s # Combination 150 675s # Combination 151 675s # Combination 152 675s # Combination 153 675s # Combination 154 675s # Combination 155 675s # Combination 156 675s # Combination 157 675s # Combination 158 675s # Combination 159 675s # Combination 160 675s # Combination 161 675s # Combination 162 675s # Combination 163 675s # Combination 164 675s # Combination 165 675s # Combination 166 675s # Combination 167 675s # Combination 168 675s # Combination 169 675s # Combination 170 675s # Combination 171 675s # Combination 172 675s # Combination 173 675s # Combination 174 675s # Combination 175 675s # Combination 176 675s # Combination 177 675s # Combination 178 675s # Combination 179 675s # Combination 180 675s # Combination 181 675s # Combination 182 675s # Combination 183 675s # Combination 184 675s # Combination 185 675s # Combination 186 675s # Combination 187 675s # Combination 188 675s # Combination 189 675s # Combination 190 675s # Combination 191 675s # Combination 192 675s # Combination 193 675s # Combination 194 675s # Combination 195 675s # Combination 196 675s # Combination 197 675s # Combination 198 675s # Combination 199 675s # Combination 200 675s # Combination 201 675s # Combination 202 675s # Combination 203 675s # Combination 204 675s # Combination 205 675s # Combination 206 675s # Combination 207 675s # Combination 208 675s # Combination 209 675s # Combination 210 675s # Combination 211 675s # Combination 212 675s # Combination 213 675s # Combination 214 675s # Combination 215 675s # Combination 216 675s # Combination 217 675s # Combination 218 675s # Combination 219 675s # Combination 220 675s # Combination 221 675s # Combination 222 675s # Combination 223 675s # Combination 224 675s # Combination 225 675s # Combination 226 675s # Combination 227 675s # Combination 228 675s # Combination 229 675s # Combination 230 675s # Combination 231 675s # Combination 232 675s # Combination 233 675s # Combination 234 675s # Combination 235 675s # Combination 236 675s # Combination 237 675s # Combination 238 675s # Combination 239 675s # Combination 240 675s # Combination 241 675s # Combination 242 675s # Combination 243 675s # Combination 244 675s # Combination 245 675s # Combination 246 675s # Combination 247 675s # Combination 248 675s # Combination 249 675s # Combination 250 675s # Combination 251 675s # Combination 252 675s # Combination 253 675s # Combination 254 675s # Combination 255 675s ok 15 /uri/join-split-round-trip 675s ok 16 /uri/normalize 675s # Start of unescape-bytes tests 675s # Test 0: %00%00 675s # Test 1: /cursors/none.png 675s # Test 2: /cursors%2fbad-subdir/none.png 675s # Test 3: %% 675s # Test 4: % 675s ok 17 /uri/unescape-bytes/nul-terminated 675s # Test 0: %00%00 675s # Test 1: /cursors/none.png 675s # Test 2: /cursors%2fbad-subdir/none.png 675s # Test 3: %% 675s # Test 4: % 675s ok 18 /uri/unescape-bytes/length 675s ok - glib/gdbus-peer.test 675s # Running test: glib/protocol.test 675s ok - glib/protocol.test 675s # Running test: glib/cxx-11.test 675s ok - glib/cxx-11.test 675s # Running test: glib/uri.test 675s ok - glib/uri.test 675s # Running test: glib/timeout.test 675s # End of unescape-bytes tests 675s # Start of parsing tests 675s # Test 0: foo: 675s # Test 1: file:/dev/null 675s # Test 2: file:///dev/null 675s # Test 3: ftp://user@host/path 675s # Test 4: ftp://user@host:9999/path 675s # Test 5: ftp://user:password@host/path 675s # Test 6: ftp://user:password@host:9999/path 675s # Test 7: ftp://user:password@host 675s # Test 8: http://us%65r@host 675s # Test 9: http://us%40r@host 675s # Test 10: http://us%3ar@host 675s # Test 11: http://us%2fr@host 675s # Test 12: http://us%3fr@host 675s # Test 13: http://host?query 675s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 675s # 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 675s # Test 16: http://space/%20 675s # Test 17: http://delims/%3C%3E%23%25%22 675s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 675s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 675s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 675s # Test 21: http://[3ffe:2a00:100:7031::1] 675s # Test 22: http://[1080::8:800:200C:417A]/foo 675s # Test 23: http://[::192.9.5.5]/ipng 675s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 675s # Test 25: http://[2010:836B:4179::836B:4179] 675s # Test 26: http://host/path with spaces 675s # Test 27: http://host/path 675s # Test 28: http://host/path 675s # Test 29: http://host 675s # Test 30: http://host:999 675s # Test 31: http://host/pa 675s # th 675s # Test 32: http: 675s # //host/path 675s # Test 33: http:// host/path 675s # Test 34: http://host/path? 675s # Test 35: http://host/path# 675s # Test 36: http://host/path% 675s # Test 37: http://h%ost/path 675s # Test 38: http://host/path%% 675s # Test 39: http://host/path%%% 675s # Test 40: http://host/path%/x/ 675s # Test 41: http://host/path%0x/ 675s # Test 42: http://host/path%ax 675s # Test 43: http://host/p?th/ 675s # Test 44: HTTP://////////////// 675s # Test 45: http://@host 675s # Test 46: http://:@host 675s # Test 47: scheme://foo%3Abar._webdav._tcp.local 675s # Test 48: http://example.com/.. 675s # Test 49: foo0://host/path 675s # Test 50: f0.o://host/path 675s # Test 51: http++://host/path 675s # Test 52: http-ish://host/path 675s # Test 53: http://[fe80::dead:beef%]/ 675s # Test 54: http://[fe80::dead:beef%em1]/ 675s # Test 55: http://[fe80::dead:beef%em1]/ 675s # Test 56: http://[fe80::dead:beef%25em1]/ 675s # Test 57: http://[fe80::dead:beef%25em1%20]/ 675s # Test 58: http://[fe80::dead:beef%25em%31]/ 675s # Test 59: http://[fe80::dead:beef%10]/ 675s # Test 60: http://[fe80::dead:beef%10]/ 675s # Test 61: http://[fe80::dead:beef%25]/ 675s # Test 62: http://[fe80::dead:beef%25]/ 675s # Test 63: http://[192.168.0.1%25em1]/ 675s # Test 64: http://[fe80::dead:beef%2em1]/ 675s # Test 65: http://[fe80::dead:beef%2em1]/ 675s # Test 66: http://[fe80::dead:beef%25em1%00]/ 675s # Test 67: http://[fe80::dead:beef%25em1%00]/ 675s # Test 68: http://xn--mixed-?p/ 675s # Test 69: data:./// 675s # Test 70: data:/.// 675s ok 19 /uri/parsing/absolute 675s ok 20 /uri/parsing/relative 675s # End of parsing tests 675s # Start of iter-params tests 675s # URI 0: p1=foo&p2=bar;p3=baz 675s # URI 1: p1=foo&p2=bar 675s # URI 2: p1=foo&&P1=bar 675s # URI 3: %00=foo 675s # URI 4: p1=%00 675s # URI 5: p1=foo&p1=bar 675s # URI 6: p1=foo&P1=bar 675s # URI 7: =% 675s # URI 8: = 675s # URI 9: foo 675s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 675s ok 21 /uri/iter-params/nul-terminated 675s # URI 0: p1=foo&p2=bar;p3=baz 675s # URI 1: p1=foo&p2=bar 675s # URI 2: p1=foo&&P1=bar 675s # URI 3: %00=foo 675s # URI 4: p1=%00 675s # URI 5: p1=foo&p1=bar 675s # URI 6: p1=foo&P1=bar 675s # URI 7: =% 675s # URI 8: = 675s # URI 9: foo 675s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 675s ok 22 /uri/iter-params/length 675s # End of iter-params tests 675s # Start of parse-params tests 675s # URI 0: p1=foo&p2=bar;p3=baz 675s # URI 1: p1=foo&p2=bar 675s # URI 2: p1=foo&&P1=bar 675s # URI 3: %00=foo 675s # URI 4: p1=%00 675s # URI 5: p1=foo&p1=bar 675s # URI 6: p1=foo&P1=bar 675s # URI 7: =% 675s # URI 8: = 675s # URI 9: foo 675s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 675s ok 23 /uri/parse-params/nul-terminated 675s # URI 0: p1=foo&p2=bar;p3=baz 675s # URI 1: p1=foo&p2=bar 675s # URI 2: p1=foo&&P1=bar 675s # URI 3: %00=foo 675s # URI 4: p1=%00 675s # URI 5: p1=foo&p1=bar 675s # URI 6: p1=foo&P1=bar 675s # URI 7: =% 675s # URI 8: = 675s # URI 9: foo 675s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 675s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 675s ok 24 /uri/parse-params/length 675s # End of parse-params tests 675s # End of uri tests 675s TAP version 14 675s # random seed: R02S59b9abba21ef9f3e9d410c61c969edfb 675s 1..5 675s # Start of timeout tests 675s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 677s ok 1 /timeout/seconds 677s # slow test /timeout/seconds executed in 2.10 secs 678s # Executing: glib/timeout.test 679s ok 2 /timeout/seconds-once 679s # slow test /timeout/seconds-once executed in 2.10 secs 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 681s ok 3 /timeout/weeks-overflow 681s # slow test /timeout/weeks-overflow executed in 2.10 secs 681s ok 4 /timeout/far-future-ready-time 683s # Executing: glib/timeout.test 688s # Executing: glib/timeout.test 691s ok 5 /timeout/rounding 691s # slow test /timeout/rounding executed in 9.93 secs 691s # End of timeout tests 691s ok - glib/timeout.test 691s # Running test: glib/portal-support-snap-classic.test 691s TAP version 14 691s # random seed: R02S86775d5249167a4560de3f50840148ab 691s 1..3 691s # Start of portal-support tests 691s # Start of snap-classic tests 691s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/home 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/cache 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/system-config2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/config 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/system-data2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/data 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/state 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl/.dirs/runtime 691s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/no-snapctl: No such file or directory 691s ok 1 /portal-support/snap-classic/no-snapctl 691s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/home 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/cache 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/system-config2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/config 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/system-data2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/data 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/state 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/runtime 691s # Created snap.yaml in /tmp/test_portal-support-snap-classic_EC6Y52/meta/snap.yaml 691s # Created snapctl in /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none/.dirs/runtime/snapctl 691s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/none: No such file or directory 691s ok 2 /portal-support/snap-classic/none 691s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/home 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/cache 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/system-config2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/config 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/system-data2 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/data 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/state 691s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/runtime 691s # Created snap.yaml in /tmp/test_portal-support-snap-classic_EC6Y52/meta/snap.yaml 691s # Created snapctl in /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all/.dirs/runtime/snapctl 691s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EC6Y52/portal-support/snap-classic/all: No such file or directory 691s ok - glib/portal-support-snap-classic.test 691s # Running test: glib/references.test 691s ok - glib/references.test 691s # Running test: glib/notify-init2.test 691s ok 3 /portal-support/snap-classic/all 691s # End of snap-classic tests 691s # End of portal-support tests 691s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_EC6Y52: No such file or directory 691s TAP version 14 691s # random seed: R02S26ce509009b45d1e026bf9b1991c17dd 691s 1..1 691s # Start of gobject tests 691s ok 1 /gobject/references 691s # End of gobject tests 691s TAP version 14 691s # random seed: R02Sf28e37a9fd968ea239fc0f9d4b0d87ec 691s 1..1 691s # Start of properties tests 691s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 691s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 691s ok 1 /properties/notify-in-init2 691s # End of properties tests 691s ok - glib/notify-init2.test 691s # Running test: glib/gsocketclient-slow.test 691s TAP version 14 691s # random seed: R02Sdc5edb3907cc238c5b74041ac1e2f758 691s 1..4 691s # Start of socket-client tests 691s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 691s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 691s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5c790f68af0 and GSocketClientAsyncConnectData 0xc5c790f630e0 691s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 691s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 691s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5c790f6c600 for GSocketClientAsyncConnectData 0xc5c790f630e0 691s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 691s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 691s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 691s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 691s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 691s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 691s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5c790f6c600 for GSocketClientAsyncConnectData 0xc5c790f630e0 691s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 692s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 692s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 692s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 692s ok 1 /socket-client/connection-fail 692s # slow test /socket-client/connection-fail executed in 1.20 secs 692s # Start of happy-eyeballs tests 692s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5c790f6b320 and GSocketClientAsyncConnectData 0xc5c790f6bf70 692s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 692s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 692s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5c790f6f580 for GSocketClientAsyncConnectData 0xc5c790f6bf70 692s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 693s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 693s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 693s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 693s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 693s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 693s ok 2 /socket-client/happy-eyeballs/slow 693s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 693s # Start of cancellation tests 693s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5c790f6bc50 and GSocketClientAsyncConnectData 0xc5c790f6fa00 693s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 693s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 693s ok 3 /socket-client/happy-eyeballs/cancellation/instant 693s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc5c790f6b170 and GSocketClientAsyncConnectData 0xc5c790f6f710 693s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 693s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 693s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc5c790f6f3c0 for GSocketClientAsyncConnectData 0xc5c790f6f710 693s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 693s # Executing: glib/gsocketclient-slow.test 693s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 693s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 693s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 693s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 693s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 693s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 693s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 693s # End of cancellation tests 693s # End of happy-eyeballs tests 693s # End of socket-client tests 693s ok - glib/gsocketclient-slow.test 693s # Running test: glib/array-test.test 693s TAP version 14 693s # random seed: R02S311d613552088db99d659923fb099e60 693s 1..113 693s # Start of array tests 693s ok 1 /array/ref-count 693s ok 2 /array/steal 693s ok 3 /array/clear-func 693s ok 4 /array/binary-search 693s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 693s ok 5 /array/copy-sized 693s ok 6 /array/overflow-append-vals 693s ok 7 /array/overflow-set-size 693s # Start of new tests 693s ok 8 /array/new/zero-terminated 693s ok 9 /array/new/take 693s ok 10 /array/new/take-zero-terminated 693s # Start of take tests 693s ok 11 /array/new/take/empty 693s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 693s # End of take tests 693s # End of new tests 693s # Start of set-size tests 693s ok 13 /array/set-size/non-zero-terminated-no-clear 693s ok 14 /array/set-size/non-zero-terminated-clear 693s ok 15 /array/set-size/zero-terminated-no-clear 693s ok 16 /array/set-size/zero-terminated-clear 693s # Start of sized tests 693s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 693s ok 18 /array/set-size/sized/non-zero-terminated-clear 693s ok 19 /array/set-size/sized/zero-terminated-no-clear 693s ok 20 /array/set-size/sized/zero-terminated-clear 693s # End of sized tests 693s # End of set-size tests 693s # Start of append-val tests 693s ok 21 /array/append-val/non-zero-terminated-no-clear 693s ok 22 /array/append-val/non-zero-terminated-clear 693s ok 23 /array/append-val/zero-terminated-no-clear 693s ok 24 /array/append-val/zero-terminated-clear 693s # End of append-val tests 693s # Start of prepend-val tests 693s ok 25 /array/prepend-val/non-zero-terminated-no-clear 693s ok 26 /array/prepend-val/non-zero-terminated-clear 693s ok 27 /array/prepend-val/zero-terminated-no-clear 693s ok 28 /array/prepend-val/zero-terminated-clear 693s # End of prepend-val tests 693s # Start of prepend-vals tests 693s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 693s ok 30 /array/prepend-vals/non-zero-terminated-clear 693s ok 31 /array/prepend-vals/zero-terminated-no-clear 693s ok 32 /array/prepend-vals/zero-terminated-clear 693s # End of prepend-vals tests 693s # Start of insert-vals tests 693s ok 33 /array/insert-vals/non-zero-terminated-no-clear 693s ok 34 /array/insert-vals/non-zero-terminated-clear 693s ok 35 /array/insert-vals/zero-terminated-no-clear 693s ok 36 /array/insert-vals/zero-terminated-clear 693s # End of insert-vals tests 693s # Start of remove-index tests 693s ok 37 /array/remove-index/non-zero-terminated-no-clear 693s ok 38 /array/remove-index/non-zero-terminated-clear 693s ok 39 /array/remove-index/zero-terminated-no-clear 693s ok 40 /array/remove-index/zero-terminated-clear 693s # End of remove-index tests 693s # Start of remove-index-fast tests 693s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 693s ok 42 /array/remove-index-fast/non-zero-terminated-clear 693s ok 43 /array/remove-index-fast/zero-terminated-no-clear 693s ok 44 /array/remove-index-fast/zero-terminated-clear 693s # End of remove-index-fast tests 693s # Start of remove-range tests 693s ok 45 /array/remove-range/non-zero-terminated-no-clear 693s ok 46 /array/remove-range/non-zero-terminated-clear 693s ok 47 /array/remove-range/zero-terminated-no-clear 693s ok 48 /array/remove-range/zero-terminated-clear 693s # End of remove-range tests 693s # Start of copy tests 693s ok 49 /array/copy/non-zero-terminated-no-clear 693s ok 50 /array/copy/non-zero-terminated-clear 693s ok 51 /array/copy/zero-terminated-no-clear 693s ok 52 /array/copy/zero-terminated-clear 693s # End of copy tests 693s # Start of sort tests 693s ok 53 /array/sort/non-zero-terminated-no-clear 693s ok 54 /array/sort/non-zero-terminated-clear 693s ok 55 /array/sort/zero-terminated-no-clear 693s ok 56 /array/sort/zero-terminated-clear 693s # End of sort tests 693s # Start of sort-with-data tests 693s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 693s ok 58 /array/sort-with-data/non-zero-terminated-clear 693s ok 59 /array/sort-with-data/zero-terminated-no-clear 693s ok 60 /array/sort-with-data/zero-terminated-clear 693s # End of sort-with-data tests 693s # End of array tests 693s # Start of pointerarray tests 693s ok 61 /pointerarray/add 693s ok 62 /pointerarray/insert 693s ok 63 /pointerarray/new-take 693s ok 64 /pointerarray/new-take-null-terminated 693s ok 65 /pointerarray/new-from-array 693s ok 66 /pointerarray/new-from-null-terminated-array 693s ok 67 /pointerarray/free-func 693s ok 68 /pointerarray/array_extend_and_steal 693s ok 69 /pointerarray/sort 693s ok 70 /pointerarray/sort-with-data 693s ok 71 /pointerarray/sort-values 693s ok 72 /pointerarray/sort-values-with-data 693s ok 73 /pointerarray/remove-range 693s ok 74 /pointerarray/steal 693s # Start of free tests 693s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 693s ok 75 /pointerarray/free/null-terminated 693s # End of free tests 693s # Start of new-take tests 693s ok 76 /pointerarray/new-take/empty 693s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 693s ok 78 /pointerarray/new-take/with-free-func 693s # End of new-take tests 693s # Start of new-take-null-terminated tests 693s ok 79 /pointerarray/new-take-null-terminated/empty 693s ok 80 /pointerarray/new-take-null-terminated/with-free-func 693s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 693s # End of new-take-null-terminated tests 693s # Start of new-from-array tests 693s ok 82 /pointerarray/new-from-array/empty 693s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 693s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 693s # End of new-from-array tests 693s # Start of new-from-null-terminated-array tests 693s ok 85 /pointerarray/new-from-null-terminated-array/empty 693s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 693s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 693s # End of new-from-null-terminated-array tests 693s # Start of ref-count tests 693s ok 88 /pointerarray/ref-count/not-null-terminated 693s ok 89 /pointerarray/ref-count/null-terminated 693s # End of ref-count tests 693s # Start of array_copy tests 693s # /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 693s ok 90 /pointerarray/array_copy/not-null-terminated 693s # /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 693s ok 91 /pointerarray/array_copy/null-terminated 693s # End of array_copy tests 693s # Start of array_extend tests 693s ok 92 /pointerarray/array_extend/not-null-terminated 693s ok 93 /pointerarray/array_extend/null-terminated 693s # End of array_extend tests 693s # Start of sort tests 693s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 693s ok 94 /pointerarray/sort/example 693s # End of sort tests 693s # Start of sort-with-data tests 693s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 693s ok 95 /pointerarray/sort-with-data/example 693s # End of sort-with-data tests 693s # Start of sort-values tests 693s ok 96 /pointerarray/sort-values/example 693s # End of sort-values tests 693s # Start of sort-values-with-data tests 693s ok 97 /pointerarray/sort-values-with-data/example 693s # End of sort-values-with-data tests 693s # Start of find tests 693s ok 98 /pointerarray/find/empty 693s ok 99 /pointerarray/find/non-empty 693s # End of find tests 693s # Start of steal_index tests 693s ok 100 /pointerarray/steal_index/not-null-terminated 693s ok 101 /pointerarray/steal_index/null-terminated 693s # End of steal_index tests 693s # End of pointerarray tests 693s # Start of bytearray tests 693s ok 102 /bytearray/steal 693s ok 103 /bytearray/append 693s ok 104 /bytearray/prepend 693s ok 105 /bytearray/remove 693s ok 106 /bytearray/remove-fast 693s ok 107 /bytearray/remove-range 693s ok - glib/array-test.test 693s # Running test: glib/io-stream.test 693s ok - glib/io-stream.test 693s # Running test: glib/file.test 693s ok 108 /bytearray/ref-count 693s ok 109 /bytearray/sort 693s ok 110 /bytearray/sort-with-data 693s ok 111 /bytearray/new-take 693s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 693s ok 113 /bytearray/free-to-bytes 693s # End of bytearray tests 693s TAP version 14 693s # random seed: R02S2390c18e6cb386caabf0618f9b8916f8 693s 1..3 693s # Start of io-stream tests 693s ok 1 /io-stream/copy-chunks 693s # Start of close tests 693s # Start of async tests 693s ok 2 /io-stream/close/async/memory 693s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 693s ok 3 /io-stream/close/async/file 693s # End of async tests 693s # End of close tests 693s # End of io-stream tests 693s TAP version 14 693s # random seed: R02S023651d5ad803cf16f35472259ffadb1 693s 1..55 693s # Start of file tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/basic/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/basic/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/basic/.dirs/system-config1:/tmp/test_file_WF4B62/file/basic/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/basic/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/basic/.dirs/system-data1:/tmp/test_file_WF4B62/file/basic/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/basic/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/basic/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/basic/.dirs/runtime 693s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 693s ok 1 /file/basic 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/build-filename/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/build-filename/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/build-filename/.dirs/system-config1:/tmp/test_file_WF4B62/file/build-filename/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/build-filename/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/build-filename/.dirs/system-data1:/tmp/test_file_WF4B62/file/build-filename/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/build-filename/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/build-filename/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/build-filename/.dirs/runtime 693s ok 2 /file/build-filename 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/system-config1:/tmp/test_file_WF4B62/file/build-filenamev/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/system-data1:/tmp/test_file_WF4B62/file/build-filenamev/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/build-filenamev/.dirs/runtime 693s ok 3 /file/build-filenamev 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/parent/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/parent/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/parent/.dirs/system-config1:/tmp/test_file_WF4B62/file/parent/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/parent/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/parent/.dirs/system-data1:/tmp/test_file_WF4B62/file/parent/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/parent/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/parent/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/parent/.dirs/runtime 693s ok 4 /file/parent 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/child/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/child/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/child/.dirs/system-config1:/tmp/test_file_WF4B62/file/child/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/child/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/child/.dirs/system-data1:/tmp/test_file_WF4B62/file/child/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/child/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/child/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/child/.dirs/runtime 693s ok 5 /file/child 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/empty-path/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/empty-path/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/empty-path/.dirs/system-config1:/tmp/test_file_WF4B62/file/empty-path/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/empty-path/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/empty-path/.dirs/system-data1:/tmp/test_file_WF4B62/file/empty-path/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/empty-path/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/empty-path/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/empty-path/.dirs/runtime 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 693s # /file/empty-path summary: Check that creating a file with an empty path results in errors 693s ok 6 /file/empty-path 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/type/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/type/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/type/.dirs/system-config1:/tmp/test_file_WF4B62/file/type/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/type/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/type/.dirs/system-data1:/tmp/test_file_WF4B62/file/type/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/type/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/type/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/type/.dirs/runtime 693s ok 7 /file/type 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/parse-name/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/parse-name/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/parse-name/.dirs/system-config1:/tmp/test_file_WF4B62/file/parse-name/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/parse-name/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/parse-name/.dirs/system-data1:/tmp/test_file_WF4B62/file/parse-name/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/parse-name/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/parse-name/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/parse-name/.dirs/runtime 693s ok 8 /file/parse-name 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace-load/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace-load/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace-load/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace-load/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace-load/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace-load/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace-load/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace-load/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace-load/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace-load/.dirs/runtime 693s ok 9 /file/replace-load 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace-cancel/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace-cancel/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace-cancel/.dirs/runtime 693s # Bug Reference: https://bugzilla.gnome.org/629301 693s ok 10 /file/replace-cancel 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace-symlink/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace-symlink/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace-symlink/.dirs/runtime 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 693s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 693s # Using temporary directory /tmp/test_file_WF4B62/g_file_replace_symlink_HSEC62 693s ok 11 /file/replace-symlink 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-new-tmp/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-new-tmp/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-new-tmp/.dirs/runtime 693s ok 12 /file/async-new-tmp 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-new-tmp-dir/.dirs/runtime 693s ok 13 /file/async-new-tmp-dir 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-delete/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-delete/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-delete/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-delete/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-delete/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-delete/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-delete/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-delete/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-delete/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-delete/.dirs/runtime 693s ok 14 /file/async-delete 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-make-symlink/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-make-symlink/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-make-symlink/.dirs/runtime 693s ok 15 /file/async-make-symlink 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/copy-preserve-mode/.dirs/runtime 693s # Current umask: 2 693s # Vector 0 693s # Vector 1 693s # Vector 2 693s # Vector 3 693s # Vector 4 693s # Vector 5 693s # Vector 6 693s # Vector 7 693s # Vector 8 693s # Vector 9 693s # Vector 10 693s ok 16 /file/copy-preserve-mode 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/copy-async-with-closures/.dirs/runtime 693s ok 17 /file/copy-async-with-closures 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/measure/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/measure/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/measure/.dirs/system-config1:/tmp/test_file_WF4B62/file/measure/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/measure/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/measure/.dirs/system-data1:/tmp/test_file_WF4B62/file/measure/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/measure/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/measure/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/measure/.dirs/runtime 693s ok 18 /file/measure 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/measure-async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/measure-async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/measure-async/.dirs/system-config1:/tmp/test_file_WF4B62/file/measure-async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/measure-async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/measure-async/.dirs/system-data1:/tmp/test_file_WF4B62/file/measure-async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/measure-async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/measure-async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/measure-async/.dirs/runtime 693s ok 19 /file/measure-async 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/load-bytes/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/load-bytes/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/load-bytes/.dirs/system-config1:/tmp/test_file_WF4B62/file/load-bytes/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/load-bytes/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/load-bytes/.dirs/system-data1:/tmp/test_file_WF4B62/file/load-bytes/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/load-bytes/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/load-bytes/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/load-bytes/.dirs/runtime 693s ok 20 /file/load-bytes 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_WF4B62/file/load-bytes-async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_WF4B62/file/load-bytes-async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/load-bytes-async/.dirs/runtime 693s ok 21 /file/load-bytes-async 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/load-bytes-4gb/.dirs/runtime 693s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/load-contents-4gb/.dirs/runtime 693s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/load-contents-4gb-async/.dirs/runtime 693s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/.dirs/runtime 693s ok 25 /file/writev 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/build-attribute-list-for-copy/.dirs/runtime 693s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 693s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 693s # 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::* 693s # 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::* 693s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 693s # Attributes for copy: standard::size,xattr::* 693s # Attributes for copy: standard::size,unix::mode,xattr::* 693s ok 26 /file/build-attribute-list-for-copy 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/move_async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/move_async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/move_async/.dirs/system-config1:/tmp/test_file_WF4B62/file/move_async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/move_async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/move_async/.dirs/system-data1:/tmp/test_file_WF4B62/file/move_async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/move_async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/move_async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/move_async/.dirs/runtime 693s ok 27 /file/move_async 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/move-async-with-closures/.dirs/runtime 693s ok 28 /file/move-async-with-closures 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/query-zero-length-content-type/.dirs/runtime 693s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 693s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 693s ok 29 /file/query-zero-length-content-type 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/runtime 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/data/applications 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/config 693s ok 30 /file/query-default-handler-file 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/runtime 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/data/applications 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config 693s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WF4B62/file/query-default-handler-file/.dirs/config to /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config 693s ok 31 /file/query-default-handler-file-async 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/runtime 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/data/applications 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config 693s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WF4B62/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config 693s ok 32 /file/query-default-handler-uri 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/runtime 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/data/applications 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/config 693s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WF4B62/file/query-default-handler-uri/.dirs/config to /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/config 693s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WF4B62/file/query-default-handler-uri-async/.dirs/config 693s ok 33 /file/query-default-handler-uri-async 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/enumerator-cancellation/.dirs/runtime 693s ok 34 /file/enumerator-cancellation 693s # Start of async-create-delete tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-create-delete/0/.dirs/runtime 693s ok 35 /file/async-create-delete/0 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-create-delete/1/.dirs/runtime 693s ok 36 /file/async-create-delete/1 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-create-delete/10/.dirs/runtime 694s ok 37 /file/async-create-delete/10 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-create-delete/25/.dirs/runtime 694s ok 38 /file/async-create-delete/25 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/async-create-delete/4096/.dirs/runtime 694s ok 39 /file/async-create-delete/4096 694s # End of async-create-delete tests 694s # Start of replace-symlink tests 694s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/home 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/cache 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/system-config2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/config 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/system-data2 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/data 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/state 694s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace-symlink/using-etag/.dirs/runtime 694s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 694s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 694s # Using temporary directory /tmp/test_file_WF4B62/g_file_replace_symlink_using_etag_1GCW52 696s ok 40 /file/replace-symlink/using-etag 696s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 696s # End of replace-symlink tests 696s # Start of replace tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace/write-only/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace/write-only/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace/write-only/.dirs/runtime 696s # /file/replace/write-only summary: Test various situations for g_file_replace() 696s # Current umask: 2 696s # Test 0, using temporary directory /tmp/test_file_WF4B62/g_file_replace_AK9V52 696s # Test 1, using temporary directory /tmp/test_file_WF4B62/g_file_replace_L69V52 696s # Test 2, using temporary directory /tmp/test_file_WF4B62/g_file_replace_SL6V52 696s # Test 3, using temporary directory /tmp/test_file_WF4B62/g_file_replace_2CSW52 696s # Test 4, using temporary directory /tmp/test_file_WF4B62/g_file_replace_16RW52 696s # Test 5, using temporary directory /tmp/test_file_WF4B62/g_file_replace_JQSW52 696s # Test 6, using temporary directory /tmp/test_file_WF4B62/g_file_replace_W6PW52 696s # Test 7, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GZLW52 696s # Test 8, using temporary directory /tmp/test_file_WF4B62/g_file_replace_PTLW52 696s # Test 9, using temporary directory /tmp/test_file_WF4B62/g_file_replace_DCMW52 696s # Test 10, using temporary directory /tmp/test_file_WF4B62/g_file_replace_F4NW52 696s # Test 11, using temporary directory /tmp/test_file_WF4B62/g_file_replace_QRJW52 696s # Test 12, using temporary directory /tmp/test_file_WF4B62/g_file_replace_MCKW52 696s # Test 13, using temporary directory /tmp/test_file_WF4B62/g_file_replace_75JW52 696s # Test 14, using temporary directory /tmp/test_file_WF4B62/g_file_replace_Y84W52 696s # Test 15, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GH1W52 696s # Test 16, using temporary directory /tmp/test_file_WF4B62/g_file_replace_WD3W52 696s # Test 17, using temporary directory /tmp/test_file_WF4B62/g_file_replace_1XYW52 696s # Test 18, using temporary directory /tmp/test_file_WF4B62/g_file_replace_040W52 696s # Test 19, using temporary directory /tmp/test_file_WF4B62/g_file_replace_OHWW52 696s # Test 20, using temporary directory /tmp/test_file_WF4B62/g_file_replace_LIHX52 696s # Test 21, using temporary directory /tmp/test_file_WF4B62/g_file_replace_A2JX52 696s # Test 22, using temporary directory /tmp/test_file_WF4B62/g_file_replace_RQFX52 696s # Test 23, using temporary directory /tmp/test_file_WF4B62/g_file_replace_MGFX52 696s # Test 24, using temporary directory /tmp/test_file_WF4B62/g_file_replace_27AX52 696s # Test 25, using temporary directory /tmp/test_file_WF4B62/g_file_replace_DP7W52 696s # Test 26, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GI7W52 696s # Test 27, using temporary directory /tmp/test_file_WF4B62/g_file_replace_DO7W52 696s # Test 28, using temporary directory /tmp/test_file_WF4B62/g_file_replace_9L9W52 696s # Test 29, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GQN052 696s # Test 30, using temporary directory /tmp/test_file_WF4B62/g_file_replace_2XN052 696s # Test 31, using temporary directory /tmp/test_file_WF4B62/g_file_replace_B3N052 696s # Test 32, using temporary directory /tmp/test_file_WF4B62/g_file_replace_1FK052 696s # Test 33, using temporary directory /tmp/test_file_WF4B62/g_file_replace_8NL052 696s # Test 34, using temporary directory /tmp/test_file_WF4B62/g_file_replace_I9L052 696s # Test 35, using temporary directory /tmp/test_file_WF4B62/g_file_replace_B0L052 696s # Test 36, using temporary directory /tmp/test_file_WF4B62/g_file_replace_MZH052 696s # Test 37, using temporary directory /tmp/test_file_WF4B62/g_file_replace_VWD052 696s # Test 38, using temporary directory /tmp/test_file_WF4B62/g_file_replace_RVF052 696s # Test 39, using temporary directory /tmp/test_file_WF4B62/g_file_replace_100052 696s # Test 40, using temporary directory /tmp/test_file_WF4B62/g_file_replace_BRW052 696s # Test 41, using temporary directory /tmp/test_file_WF4B62/g_file_replace_PRY052 696s # Test 42, using temporary directory /tmp/test_file_WF4B62/g_file_replace_XYU052 696s # Test 43, using temporary directory /tmp/test_file_WF4B62/g_file_replace_8NQ052 696s # Test 44, using temporary directory /tmp/test_file_WF4B62/g_file_replace_6ES052 696s # Test 45, using temporary directory /tmp/test_file_WF4B62/g_file_replace_DZS052 696s # Test 46, using temporary directory /tmp/test_file_WF4B62/g_file_replace_FGD152 696s # Test 47, using temporary directory /tmp/test_file_WF4B62/g_file_replace_D0D152 696s # Test 48, using temporary directory /tmp/test_file_WF4B62/g_file_replace_SM9052 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 41 /file/replace/write-only 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/system-config1:/tmp/test_file_WF4B62/file/replace/read-write/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/system-data1:/tmp/test_file_WF4B62/file/replace/read-write/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/replace/read-write/.dirs/runtime 696s # /file/replace/read-write summary: Test various situations for g_file_replace() 696s # Current umask: 2 696s # Test 0, using temporary directory /tmp/test_file_WF4B62/g_file_replace_I09052 696s # Test 1, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GR9052 696s # Test 2, using temporary directory /tmp/test_file_WF4B62/g_file_replace_X15052 696s # Test 3, using temporary directory /tmp/test_file_WF4B62/g_file_replace_X77052 696s # Test 4, using temporary directory /tmp/test_file_WF4B62/g_file_replace_6T8052 696s # Test 5, using temporary directory /tmp/test_file_WF4B62/g_file_replace_XM8052 696s # Test 6, using temporary directory /tmp/test_file_WF4B62/g_file_replace_FV4052 696s # Test 7, using temporary directory /tmp/test_file_WF4B62/g_file_replace_XTP152 696s # Test 8, using temporary directory /tmp/test_file_WF4B62/g_file_replace_WNP152 696s # Test 9, using temporary directory /tmp/test_file_WF4B62/g_file_replace_J8P152 696s # Test 10, using temporary directory /tmp/test_file_WF4B62/g_file_replace_WUL152 696s # Test 11, using temporary directory /tmp/test_file_WF4B62/g_file_replace_RCN152 696s # Test 12, using temporary directory /tmp/test_file_WF4B62/g_file_replace_MKN152 696s # Test 13, using temporary directory /tmp/test_file_WF4B62/g_file_replace_3PN152 696s # Test 14, using temporary directory /tmp/test_file_WF4B62/g_file_replace_JDJ152 696s # Test 15, using temporary directory /tmp/test_file_WF4B62/g_file_replace_TCF152 696s # Test 16, using temporary directory /tmp/test_file_WF4B62/g_file_replace_WXH152 696s # Test 17, using temporary directory /tmp/test_file_WF4B62/g_file_replace_GL9Y52 696s # Test 18, using temporary directory /tmp/test_file_WF4B62/g_file_replace_IA6Y52 696s # Test 19, using temporary directory /tmp/test_file_WF4B62/g_file_replace_K77Y52 696s # Test 20, using temporary directory /tmp/test_file_WF4B62/g_file_replace_JG2Y52 696s # Test 21, using temporary directory /tmp/test_file_WF4B62/g_file_replace_U24Y52 696s # Test 22, using temporary directory /tmp/test_file_WF4B62/g_file_replace_F6ZY52 696s # Test 23, using temporary directory /tmp/test_file_WF4B62/g_file_replace_YP0Y52 696s # Test 24, using temporary directory /tmp/test_file_WF4B62/g_file_replace_1DLZ52 696s # Test 25, using temporary directory /tmp/test_file_WF4B62/g_file_replace_XFNZ52 696s # Test 26, using temporary directory /tmp/test_file_WF4B62/g_file_replace_A1NZ52 696s # Test 27, using temporary directory /tmp/test_file_WF4B62/g_file_replace_CTNZ52 696s # Test 28, using temporary directory /tmp/test_file_WF4B62/g_file_replace_IEJZ52 696s # Test 29, using temporary directory /tmp/test_file_WF4B62/g_file_replace_K6EZ52 696s # Test 30, using temporary directory /tmp/test_file_WF4B62/g_file_replace_YRFZ52 696s # Test 31, using temporary directory /tmp/test_file_WF4B62/g_file_replace_0HFZ52 696s # Test 32, using temporary directory /tmp/test_file_WF4B62/g_file_replace_5HHZ52 696s # Test 33, using temporary directory /tmp/test_file_WF4B62/g_file_replace_U4CZ52 696s # Test 34, using temporary directory /tmp/test_file_WF4B62/g_file_replace_SPDZ52 696s # Test 35, using temporary directory /tmp/test_file_WF4B62/g_file_replace_8GDZ52 696s # Test 36, using temporary directory /tmp/test_file_WF4B62/g_file_replace_7HYZ52 696s # Test 37, using temporary directory /tmp/test_file_WF4B62/g_file_replace_RH0Z52 696s # Test 38, using temporary directory /tmp/test_file_WF4B62/g_file_replace_D2VZ52 696s # Test 39, using temporary directory /tmp/test_file_WF4B62/g_file_replace_IYRZ52 696s # Test 40, using temporary directory /tmp/test_file_WF4B62/g_file_replace_8GTZ52 696s # Test 41, using temporary directory /tmp/test_file_WF4B62/g_file_replace_3IOZ52 696s # Test 42, using temporary directory /tmp/test_file_WF4B62/g_file_replace_XVQZ52 696s # Test 43, using temporary directory /tmp/test_file_WF4B62/g_file_replace_J7B052 696s # Test 44, using temporary directory /tmp/test_file_WF4B62/g_file_replace_P8C052 696s # Test 45, using temporary directory /tmp/test_file_WF4B62/g_file_replace_TDD052 696s # Test 46, using temporary directory /tmp/test_file_WF4B62/g_file_replace_OW8Z52 696s # Test 47, using temporary directory /tmp/test_file_WF4B62/g_file_replace_O28Z52 696s # Test 48, using temporary directory /tmp/test_file_WF4B62/g_file_replace_IN4Z52 696s # We do not have CAP_DAC_OVERRIDE or equivalent 696s ok 42 /file/replace/read-write 696s # End of replace tests 696s # Start of copy tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/copy/progress/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/copy/progress/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/copy/progress/.dirs/system-config1:/tmp/test_file_WF4B62/file/copy/progress/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/copy/progress/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/copy/progress/.dirs/system-data1:/tmp/test_file_WF4B62/file/copy/progress/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/copy/progress/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/copy/progress/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/copy/progress/.dirs/runtime 696s ok 43 /file/copy/progress 696s # End of copy tests 696s # Start of writev tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/no-bytes-written/.dirs/runtime 696s ok 44 /file/writev/no-bytes-written 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/no-vectors/.dirs/runtime 696s ok 45 /file/writev/no-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/empty-vectors/.dirs/runtime 696s ok 46 /file/writev/empty-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/too-big-vectors/.dirs/runtime 696s ok 47 /file/writev/too-big-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async/.dirs/runtime 696s ok 48 /file/writev/async 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async_all/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async_all/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async_all/.dirs/runtime 696s ok 49 /file/writev/async_all 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async_all-empty-vectors/.dirs/runtime 696s ok 50 /file/writev/async_all-empty-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async_all-no-vectors/.dirs/runtime 696s ok 51 /file/writev/async_all-no-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async_all-to-big-vectors/.dirs/runtime 696s ok 52 /file/writev/async_all-to-big-vectors 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/writev/async_all-cancellation/.dirs/runtime 696s ok 53 /file/writev/async_all-cancellation 696s # End of writev tests 696s # Start of from-uri tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/from-uri/ignores-query-string/.dirs/runtime 696s ok 54 /file/from-uri/ignores-query-string 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WF4B62/file/from-uri/ignores-fragment/.dirs/runtime 696s ok 55 /file/from-uri/ignores-fragment 696s # End of from-uri tests 696s # End of file tests 696s ok - glib/file.test 696s # Running test: glib/union-info.test 696s TAP version 14 696s # random seed: R02Sc2f2b604c929ceafa813ae9db51c609d 696s 1..2 696s # Start of union-info tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_I33R52/union-info/basic/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_I33R52/union-info/basic/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_I33R52/union-info/basic/.dirs/system-config1:/tmp/test_union-info_I33R52/union-info/basic/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_I33R52/union-info/basic/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_I33R52/union-info/basic/.dirs/system-data1:/tmp/test_union-info_I33R52/union-info/basic/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_I33R52/union-info/basic/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_I33R52/union-info/basic/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_I33R52/union-info/basic/.dirs/runtime 696s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 696s # /union-info/basic summary: Test basic properties of GIUnionInfo 696s ok 1 /union-info/basic 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_I33R52/union-info/methods/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_I33R52/union-info/methods/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_I33R52/union-info/methods/.dirs/system-config1:/tmp/test_union-info_I33R52/union-info/methods/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_I33R52/union-info/methods/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_I33R52/union-info/methods/.dirs/system-data1:/tmp/test_union-info_I33R52/union-info/methods/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_I33R52/union-info/methods/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_I33R52/union-info/methods/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_I33R52/union-info/methods/.dirs/runtime 696s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 696s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 696s ok 2 /union-info/methods 696s # End of union-info tests 696s ok - glib/union-info.test 696s # Running test: glib/gi-inspect-typelib.py.test 696s TAP version 13 696s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpbgimyej_ 696s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 696s # Return code: 0 696s # Output: 696s # Usage: 696s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 696s # 696s # Help Options: 696s # -h, --help Show help options 696s # 696s # Application Options: 696s # --typelib-version=VERSION Typelib version to inspect 696s # --print-shlibs List the shared libraries the typelib requires 696s # --print-typelibs List other typelibs the inspected typelib requires 696s # Error: 696s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpfttdvmjc 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 696s # Return code: 1 696s # Output: 696s # 696s # Error: 696s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 696s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpqjzrs89z 696s # Running: ['/usr/bin/gi-inspect-typelib'] 696s # Return code: 1 696s # Output: 696s # 696s # Error: 696s # Please specify exactly one namespace 696s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpvto84gqs 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgobject-2.0.so.0 696s # shlib: libglib-2.0.so.0 696s # Error: 696s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmp8b28ot2e 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # 696s # Error: 696s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmplzxghgux 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgobject-2.0.so.0 696s # shlib: libglib-2.0.so.0 696s # Error: 696s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpwy_kmb4g 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgobject-2.0.so.0 696s # Error: 696s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpw8c5s9oa 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # typelib: GLib-2.0 696s # Error: 696s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmp1rkqv8vr 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgobject-2.0.so.0 696s # typelib: GLib-2.0 696s # Error: 696s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmp8uh4jpjw 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgio-2.0.so.0 696s # Error: 696s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmp_d2q22tl 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # typelib: GObject-2.0 696s # typelib: GLib-2.0 696s # typelib: GModule-2.0 696s # Error: 696s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 696s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 696s # tmpdir: /tmp/tmpiezvvgew 696s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 696s # Return code: 0 696s # Output: 696s # shlib: libgio-2.0.so.0 696s # typelib: GObject-2.0 696s # typelib: GLib-2.0 696s # typelib: GModule-2.0 696s # Error: 696s 1..12 696s ok - glib/gi-inspect-typelib.py.test 696s # Running test: glib/binding.test 696s TAP version 14 696s # random seed: R02S616741cf0056b4748d89e2186c5f3e5c 696s 1..19 696s # Start of binding tests 696s ok 1 /binding/default 696s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 696s ok 2 /binding/canonicalisation 696s ok 3 /binding/bidirectional 696s ok 4 /binding/transform 696s ok 5 /binding/transform-default 696s ok 6 /binding/transform-closure 696s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 696s ok 7 /binding/chain 696s ok 8 /binding/sync-create 696s ok 9 /binding/invert-boolean 696s ok 10 /binding/same-object 696s ok 11 /binding/unbind 696s ok 12 /binding/unbind-weak 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 696s ok 13 /binding/unbind-multiple 696s ok 14 /binding/fail 696s ok 15 /binding/interface 696s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 696s ok 16 /binding/concurrent-unbind 696s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 696s ok 17 /binding/concurrent-finalizing 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 696s ok 18 /binding/dispose-source 696s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 696s ok 19 /binding/dispose-target 696s # End of binding tests 696s ok - glib/binding.test 696s # Running test: glib/test-printf.test 696s TAP version 14 696s # random seed: R02S4ff24d9b52ead486b1fcb44cfc0f27d0 696s 1..22 696s # Start of snprintf tests 696s ok 1 /snprintf/retval-and-trunc 696s ok 2 /snprintf/%d 696s ok 3 /snprintf/%d-invalid 696s ok 4 /snprintf/%o 696s ok 5 /snprintf/%u 696s ok 6 /snprintf/%x 696s ok 7 /snprintf/%X 696s ok 8 /snprintf/%f 696s ok 9 /snprintf/%e 696s ok 10 /snprintf/%c 696s ok 11 /snprintf/%s 696s ok 12 /snprintf/%n 696s ok 13 /snprintf/test-percent 696s ok 14 /snprintf/test-positional-params 696s ok 15 /snprintf/test-64bit 696s # End of snprintf tests 696s # Start of printf tests 696s ok 16 /printf/test-percent 696s ok 17 /printf/test-positional-params 696s ok 18 /printf/test-64bit 696s # Start of test-64bit tests 696s # Start of subprocess tests 696s # End of subprocess tests 696s # End of test-64bit tests 696s # End of printf tests 696s # Start of sprintf tests 696s ok 19 /sprintf/test-positional-params 696s ok 20 /sprintf/upper-bound 696s # End of sprintf tests 696s # Start of vasprintf tests 696s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 696s ok 21 /vasprintf/invalid-format-placeholder 696s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 696s ok 22 /vasprintf/invalid-wide-string 696s # End of vasprintf tests 696s ok - glib/test-printf.test 696s # Running test: glib/deftype.test 696s ok - glib/deftype.test 696s # Running test: glib/buffered-output-stream.test 696s TAP version 14 696s ok - glib/buffered-output-stream.test 696s # random seed: R02S737495cf06f3fb25bda00d1559cfdb77 696s 1..5 696s # Start of buffered-output-stream tests 696s ok 1 /buffered-output-stream/write 696s ok 2 /buffered-output-stream/grow 696s ok 3 /buffered-output-stream/seek 696s ok 4 /buffered-output-stream/truncate 696s # End of buffered-output-stream tests 696s # Start of filter-output-stream tests 696s ok 5 /filter-output-stream/close 696s # End of filter-output-stream tests 696s # Running test: glib/unicode.test 696s TAP version 14 696s # random seed: R02S4cd8e63696cd15cabc1cba620f44e489 696s 1..39 696s # Start of unicode tests 696s ok 1 /unicode/alnum 696s ok 2 /unicode/alpha 696s ok 3 /unicode/break-type 696s ok 4 /unicode/canonical-decomposition 696s ok 5 /unicode/casefold 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s # Cannot set locale to lt_LT, skipping 696s ok 6 /unicode/casemap_and_casefold 696s ok 7 /unicode/cases 696s ok 8 /unicode/character-type 696s ok 9 /unicode/cntrl 696s ok 10 /unicode/combining-class 696s # Composing U+000041 and U+000042; expecting U+000000 696s # Composing U+000041 and U+000000; expecting U+000000 696s # Composing U+000066 and U+000069; expecting U+000000 696s # Composing U+000308 and U+000301; expecting U+000000 696s # Composing U+000f71 and U+000f72; expecting U+000000 696s # Composing U+00212b and U+000000; expecting U+000000 696s # Composing U+0000c5 and U+000000; expecting U+000000 696s # Composing U+002126 and U+000000; expecting U+000000 696s # Composing U+0003a9 and U+000000; expecting U+000000 696s # Composing U+000041 and U+00030a; expecting U+0000c5 696s # Composing U+00006f and U+000302; expecting U+0000f4 696s # Composing U+001e63 and U+000307; expecting U+001e69 696s # Composing U+000073 and U+000323; expecting U+001e63 696s # Composing U+000064 and U+000307; expecting U+001e0b 696s # Composing U+000064 and U+000323; expecting U+001e0d 696s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 696s # Composing U+001111 and U+001171; expecting U+00d4cc 696s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 696s # Composing U+00110e and U+001173; expecting U+00ce20 696s # Composing U+001100 and U+001160; expecting U+000000 696s # Composing U+001100 and U+001177; expecting U+000000 696s # Composing U+00abff and U+0011b6; expecting U+000000 696s # Composing U+00d7a5 and U+0011b6; expecting U+000000 696s # Composing U+00ac01 and U+0011b6; expecting U+000000 696s # Composing U+00d4cc and U+0011a6; expecting U+000000 696s # Composing U+00d4cc and U+0011c4; expecting U+000000 696s # Composing U+01611e and U+01611e; expecting U+016121 696s # Composing U+01611e and U+01611f; expecting U+016123 696s # Composing U+0000f6 and U+000304; expecting U+00022b 696s # Composing U+000b47 and U+000b57; expecting U+000b4c 696s # Composing U+0000a0 and U+000b57; expecting U+000000 696s # Composing U+016e00 and U+00030a; expecting U+000000 696s # Composing U+00212b and U+016e00; expecting U+000000 696s # Composing U+001e63 and U+000306; expecting U+000000 696s # Composing U+001e63 and U+000304; expecting U+000000 696s # Composing U+001e63 and U+000b57; expecting U+000000 696s # Composing U+001e63 and U+000000; expecting U+000000 696s # Composing U+001e63 and U+0113c2; expecting U+000000 696s # Composing U+001f01 and U+0113c2; expecting U+000000 696s # Composing U+00006e and U+000302; expecting U+000000 696s # Composing U+001e63 and U+01611f; expecting U+000000 696s # Composing U+01138e and U+0113b8; expecting U+000000 696s # Composing U+01611e and U+000000; expecting U+000000 696s # Composing U+000000 and U+01611f; expecting U+000000 696s # Composing U+011390 and U+0113c2; expecting U+000000 696s ok 11 /unicode/compose 696s ok 12 /unicode/decompose 696s ok 13 /unicode/decompose-tail 696s ok 14 /unicode/defined 696s ok 15 /unicode/digit 696s ok 16 /unicode/digit-value 696s # Fully decomposing U+000041; expecting 1 codepoints 696s # Fully decomposing U+00fb01; expecting 1 codepoints 696s # Fully decomposing U+00212b; expecting 2 codepoints 696s # Fully decomposing U+002126; expecting 1 codepoints 696s # Fully decomposing U+000344; expecting 2 codepoints 696s # Fully decomposing U+000f73; expecting 2 codepoints 696s # Fully decomposing U+0000c5; expecting 2 codepoints 696s # Fully decomposing U+0000f4; expecting 2 codepoints 696s # Fully decomposing U+001e69; expecting 3 codepoints 696s # Fully decomposing U+001e63; expecting 2 codepoints 696s # Fully decomposing U+001e0b; expecting 2 codepoints 696s # Fully decomposing U+001e0d; expecting 2 codepoints 696s # Fully decomposing U+00d4db; expecting 3 codepoints 696s # Fully decomposing U+00d4cc; expecting 2 codepoints 696s # Fully decomposing U+00ce31; expecting 3 codepoints 696s # Fully decomposing U+00ce20; expecting 2 codepoints 696s ok 17 /unicode/fully-decompose-canonical 696s ok 18 /unicode/fully-decompose-len 696s ok 19 /unicode/normalization 696s ok 20 /unicode/graph 696s # Testing script Zyyy (code 1517910393) 696s # Testing script Zinh (code 1516858984) 696s # Testing script Zmth (code 1517122664) 696s # Testing script Arab (code 1098015074) 696s # Testing script Armn (code 1098018158) 696s # Testing script Beng (code 1113943655) 696s # Testing script Bopo (code 1114599535) 696s # Testing script Cher (code 1130915186) 696s # Testing script Copt (code 1131376756) 696s # Testing script Cyrl (code 1132032620) 696s # Testing script Dsrt (code 1148416628) 696s # Testing script Deva (code 1147500129) 696s # Testing script Ethi (code 1165256809) 696s # Testing script Geor (code 1197830002) 696s # Testing script Goth (code 1198486632) 696s # Testing script Grek (code 1198679403) 696s # Testing script Gujr (code 1198877298) 696s # Testing script Guru (code 1198879349) 696s # Testing script Hani (code 1214344809) 696s # Testing script Hang (code 1214344807) 696s # Testing script Hebr (code 1214603890) 696s # Testing script Hira (code 1214870113) 696s # Testing script Knda (code 1265525857) 696s # Testing script Kana (code 1264676449) 696s # Testing script Khmr (code 1265134962) 696s # Testing script Laoo (code 1281453935) 696s # Testing script Latn (code 1281455214) 696s # Testing script Mlym (code 1298954605) 696s # Testing script Mong (code 1299148391) 696s # Testing script Mymr (code 1299803506) 696s # Testing script Ogam (code 1332175213) 696s # Testing script Ital (code 1232363884) 696s # Testing script Orya (code 1332902241) 696s # Testing script Runr (code 1383427698) 696s # Testing script Sinh (code 1399418472) 696s # Testing script Syrc (code 1400468067) 696s # Testing script Taml (code 1415671148) 696s # Testing script Telu (code 1415933045) 696s # Testing script Thaa (code 1416126817) 696s # Testing script Thai (code 1416126825) 696s # Testing script Tibt (code 1416192628) 696s # Testing script Cans (code 1130458739) 696s # Testing script Yiii (code 1500080489) 696s # Testing script Tglg (code 1416064103) 696s # Testing script Hano (code 1214344815) 696s # Testing script Buhd (code 1114990692) 696s # Testing script Tagb (code 1415669602) 696s # Testing script Brai (code 1114792297) 696s # Testing script Cprt (code 1131442804) 696s # Testing script Limb (code 1281977698) 696s # Testing script Osma (code 1332964705) 696s # Testing script Shaw (code 1399349623) 696s # Testing script Linb (code 1281977954) 696s # Testing script Tale (code 1415670885) 696s # Testing script Ugar (code 1432838514) 696s # Testing script Talu (code 1415670901) 696s # Testing script Bugi (code 1114990441) 696s # Testing script Glag (code 1198285159) 696s # Testing script Tfng (code 1415999079) 696s # Testing script Sylo (code 1400466543) 696s # Testing script Xpeo (code 1483761007) 696s # Testing script Khar (code 1265131890) 696s # Testing script Zzzz (code 1517976186) 696s # Testing script Bali (code 1113681001) 696s # Testing script Xsux (code 1483961720) 696s # Testing script Phnx (code 1349021304) 696s # Testing script Phag (code 1349017959) 696s # Testing script Nkoo (code 1315663727) 696s # Testing script Kali (code 1264675945) 696s # Testing script Lepc (code 1281716323) 696s # Testing script Rjng (code 1382706791) 696s # Testing script Sund (code 1400204900) 696s # Testing script Saur (code 1398895986) 696s # Testing script Cham (code 1130914157) 696s # Testing script Olck (code 1332503403) 696s # Testing script Vaii (code 1449224553) 696s # Testing script Cari (code 1130459753) 696s # Testing script Lyci (code 1283023721) 696s # Testing script Lydi (code 1283023977) 696s # Testing script Avst (code 1098281844) 696s # Testing script Bamu (code 1113681269) 696s # Testing script Egyp (code 1164409200) 696s # Testing script Armi (code 1098018153) 696s # Testing script Phli (code 1349020777) 696s # Testing script Prti (code 1349678185) 696s # Testing script Java (code 1247901281) 696s # Testing script Kthi (code 1265920105) 696s # Testing script Lisu (code 1281979253) 696s # Testing script Mtei (code 1299473769) 696s # Testing script Sarb (code 1398895202) 696s # Testing script Orkh (code 1332898664) 696s # Testing script Samr (code 1398893938) 696s # Testing script Lana (code 1281453665) 696s # Testing script Tavt (code 1415673460) 696s # Testing script Batk (code 1113683051) 696s # Testing script Brah (code 1114792296) 696s # Testing script Mand (code 1298230884) 696s # Testing script Cakm (code 1130457965) 696s # Testing script Merc (code 1298494051) 696s # Testing script Mero (code 1298494063) 696s # Testing script Plrd (code 1349284452) 696s # Testing script Shrd (code 1399353956) 696s # Testing script Sora (code 1399812705) 696s # Testing script Takr (code 1415670642) 696s # Testing script Bass (code 1113682803) 696s # Testing script Aghb (code 1097295970) 696s # Testing script Dupl (code 1148547180) 696s # Testing script Elba (code 1164730977) 696s # Testing script Gran (code 1198678382) 696s # Testing script Khoj (code 1265135466) 696s # Testing script Sind (code 1399418468) 696s # Testing script Lina (code 1281977953) 696s # Testing script Mahj (code 1298229354) 696s # Testing script Mani (code 1298230889) 696s # Testing script Mend (code 1298493028) 696s # Testing script Modi (code 1299145833) 696s # Testing script Mroo (code 1299345263) 696s # Testing script Nbat (code 1315070324) 696s # Testing script Narb (code 1315009122) 696s # Testing script Perm (code 1348825709) 696s # Testing script Hmng (code 1215131239) 696s # Testing script Palm (code 1348562029) 696s # Testing script Pauc (code 1348564323) 696s # Testing script Phlp (code 1349020784) 696s # Testing script Sidd (code 1399415908) 696s # Testing script Tirh (code 1416196712) 696s # Testing script Wara (code 1466004065) 696s # Testing script Ahom (code 1097363309) 696s # Testing script Hluw (code 1215067511) 696s # Testing script Hatr (code 1214346354) 696s # Testing script Mult (code 1299541108) 696s # Testing script Hung (code 1215655527) 696s # Testing script Sgnw (code 1399287415) 696s # Testing script Adlm (code 1097100397) 696s # Testing script Bhks (code 1114139507) 696s # Testing script Marc (code 1298231907) 696s # Testing script Newa (code 1315272545) 696s # Testing script Osge (code 1332963173) 696s # Testing script Tang (code 1415671399) 696s # Testing script Gonm (code 1198485101) 696s # Testing script Nshu (code 1316186229) 696s # Testing script Soyo (code 1399814511) 696s # Testing script Zanb (code 1516334690) 696s # Testing script Dogr (code 1148151666) 696s # Testing script Gong (code 1198485095) 696s # Testing script Rohg (code 1383032935) 696s # Testing script Maka (code 1298230113) 696s # Testing script Medf (code 1298490470) 696s # Testing script Sogo (code 1399809903) 696s # Testing script Sogd (code 1399809892) 696s # Testing script Elym (code 1164736877) 696s # Testing script Nand (code 1315008100) 696s # Testing script Hmnp (code 1215131248) 696s # Testing script Wcho (code 1466132591) 696s # Testing script Chrs (code 1130918515) 696s # Testing script Diak (code 1147756907) 696s # Testing script Kits (code 1265202291) 696s # Testing script Yezi (code 1499822697) 696s # Testing script Cpmn (code 1131441518) 696s # Testing script Ougr (code 1333094258) 696s # Testing script Tnsa (code 1416524641) 696s # Testing script Toto (code 1416590447) 696s # Testing script Vith (code 1449751656) 696s # Testing script Kawi (code 1264678761) 696s # Testing script Nagm (code 1315006317) 696s # Testing script Todr (code 1416586354) 696s # Testing script Gara (code 1197568609) 696s # Testing script Tutg (code 1416983655) 696s # Testing script Sunu (code 1400204917) 696s # Testing script Gukh (code 1198877544) 696s # Testing script Krai (code 1265787241) 696s # Testing script Onao (code 1332633967) 696s ok 21 /unicode/iso15924 696s ok 22 /unicode/lower 696s ok 23 /unicode/mark 696s ok 24 /unicode/mirror 696s ok 25 /unicode/print 696s ok 26 /unicode/punctuation 696s ok 27 /unicode/script 696s ok 28 /unicode/space 696s ok 29 /unicode/strdown 696s ok 30 /unicode/strup 696s ok 31 /unicode/turkish-strupdown 696s ok 32 /unicode/title 696s ok 33 /unicode/upper 696s ok 34 /unicode/validate 696s ok 35 /unicode/wide 696s ok 36 /unicode/xdigit 696s ok 37 /unicode/xdigit-value 696s ok 38 /unicode/zero-width 696s ok 39 /unicode/normalize 696s ok - glib/unicode.test 696s # End of unicode tests 696s # Running test: glib/gdbus-proxy-threads.test 696s TAP version 14 696s # random seed: R02S30def0b59b7545e7d97feb9109558d09 696s 1..1 696s # Start of gdbus tests 696s # Start of proxy tests 696s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/home 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/cache 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/system-config2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/config 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/system-data2 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/data 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/state 696s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_36DU52/gdbus/proxy/vs-threads/.dirs/runtime 697s ok 1 /gdbus/proxy/vs-threads 697s # slow test /gdbus/proxy/vs-threads executed in 0.61 secs 697s # End of proxy tests 697s # End of gdbus tests 697s ok - glib/gdbus-proxy-threads.test 697s cleaning up pid 3952 697s # Running test: glib/gdbus-non-socket.test 697s TAP version 14 697s # random seed: R02S391f99532bf7ec361c7f95770d83b179 697s 1..1 697s # Start of gdbus tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_2VUW52/gdbus/non-socket/.dirs/runtime 697s ok 1 /gdbus/non-socket 697s # End of gdbus tests 697s ok - glib/gdbus-non-socket.test 697s # Running test: glib/gdbus-test-codegen.test 697s TAP version 14 697s # random seed: R02S647b83ab9a36d22714ef9a6e2c6f4745 697s 1..8 697s # Start of gdbus tests 697s # Start of codegen tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/annotations/.dirs/runtime 697s ok 1 /gdbus/codegen/annotations 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/interface_stability/.dirs/runtime 697s ok 2 /gdbus/codegen/interface_stability 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/object-manager/.dirs/runtime 697s ok 3 /gdbus/codegen/object-manager 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/property-naming/.dirs/runtime 697s ok 4 /gdbus/codegen/property-naming 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/autocleanups/.dirs/runtime 697s ok 5 /gdbus/codegen/autocleanups 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/deprecations/.dirs/runtime 697s ok 6 /gdbus/codegen/deprecations 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/standalone-interface-info/.dirs/runtime 697s ok 7 /gdbus/codegen/standalone-interface-info 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_6QBX52/gdbus/codegen/unix-fd-list/.dirs/runtime 697s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 697s ok 8 /gdbus/codegen/unix-fd-list 697s # End of codegen tests 697s # End of gdbus tests 697s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 697s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 697s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 697s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 697s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 697s ok - glib/gdbus-test-codegen.test 697s # Running test: glib/unicode-normalize.test 697s TAP version 14 697s # random seed: R02S56c5d3702182f4924fb715079a13d251 697s 1..3 697s # Start of unicode tests 697s # Processing Part0 # Specific cases 697s # Processing Part1 # Character by character test 697s # Processing Part2 # Canonical Order Test 697s # Processing Part3 # PRI #29 Test 697s # Processing Part4 # Canonical closures (excluding Hangul) 697s # Processing Part5 # Chained primary composites 697s ok 1 /unicode/normalize 697s # Invalid UTF-8 vector 0 697s # Invalid UTF-8 vector 1 697s # Invalid UTF-8 vector 2 697s # Invalid UTF-8 vector 3 697s # Invalid UTF-8 vector 4 697s # Invalid UTF-8 vector 5 697s # Invalid UTF-8 vector 6 697s # Invalid UTF-8 vector 7 697s # Invalid UTF-8 vector 8 697s # Invalid UTF-8 vector 9 697s # Invalid UTF-8 vector 10 697s # Invalid UTF-8 vector 11 697s # Invalid UTF-8 vector 12 697s ok 2 /unicode/normalize-invalid 697s # Start of normalize tests 697s ok 3 /unicode/normalize/bad-length 697s # End of normalize tests 697s # End of unicode tests 697s ok - glib/unicode-normalize.test 697s # Running test: glib/codegen.py.test 697s TAP version 13 697s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 697s # gdbus-codegen: /usr/bin/gdbus-codegen 697s # tmpdir: /tmp/tmpjeom1qrs 697s # /tmp/tmpjeom1qrs/tmp60i5kome.xml: 697s # 697s # 697s # 697s # 697s # 697s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjeom1qrs/tmp60i5kome.xml', '--output', '-', '--header'] 697s # Return code: 0 697s # Output: 697s # /* 697s # * This file is generated by gdbus-codegen, do not modify it. 697s # * 697s # * The license of this code is the same as for the D-Bus interface description 697s # * it was derived from. Note that it links to GLib, so must comply with the 697s # * LGPL linking clauses. 697s # */ 697s # 697s # #ifndef __STDOUT__ 697s # #define __STDOUT__ 697s # 697s # #include 697s # 697s # G_BEGIN_DECLS 697s # 697s # 697s # /* ------------------------------------------------------------------------ */ 697s # /* Declarations for org.project.UsefulInterface */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 697s # 697s # struct _OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 697s # 697s # struct _OrgProjectUsefulInterfaceIface 697s # { 697s # GTypeInterface parent_iface; 697s # 697s # gboolean (*handle_useful_method) ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # }; 697s # 697s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 697s # 697s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 697s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 697s # 697s # 697s # /* D-Bus method call completion functions: */ 697s # void org_project_useful_interface_complete_useful_method ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # 697s # 697s # /* D-Bus method calls: */ 697s # void org_project_useful_interface_call_useful_method ( 697s # OrgProjectUsefulInterface *proxy, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_finish ( 697s # OrgProjectUsefulInterface *proxy, 697s # GAsyncResult *res, 697s # GError **error); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_sync ( 697s # OrgProjectUsefulInterface *proxy, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 697s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 697s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceProxy 697s # { 697s # /*< private >*/ 697s # GDBusProxy parent_instance; 697s # OrgProjectUsefulInterfaceProxyPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceProxyClass 697s # { 697s # GDBusProxyClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 697s # #endif 697s # 697s # void org_project_useful_interface_proxy_new ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # void org_project_useful_interface_proxy_new_for_bus ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeleton 697s # { 697s # /*< private >*/ 697s # GDBusInterfaceSkeleton parent_instance; 697s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeletonClass 697s # { 697s # GDBusInterfaceSkeletonClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 697s # #endif 697s # 697s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 697s # 697s # 697s # G_END_DECLS 697s # 697s # #endif /* __STDOUT__ */ 697s # Error: 697s # 697s # /tmp/tmpjeom1qrs/tmpdr43iipm.xml: 697s # 697s # 697s # 697s # 697s # 697s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjeom1qrs/tmpdr43iipm.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 697s # Return code: 0 697s # Output: 697s # /* 697s # * This file is generated by gdbus-codegen, do not modify it. 697s # * 697s # * The license of this code is the same as for the D-Bus interface description 697s # * it was derived from. Note that it links to GLib, so must comply with the 697s # * LGPL linking clauses. 697s # */ 697s # 697s # #ifndef __STDOUT__ 697s # #define __STDOUT__ 697s # 697s # #include 697s # 697s # G_BEGIN_DECLS 697s # 697s # 697s # /* ------------------------------------------------------------------------ */ 697s # /* Declarations for org.project.UsefulInterface */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 697s # 697s # struct _OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 697s # 697s # struct _OrgProjectUsefulInterfaceIface 697s # { 697s # GTypeInterface parent_iface; 697s # 697s # gboolean (*handle_useful_method) ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # }; 697s # 697s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 697s # 697s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 697s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 697s # 697s # 697s # /* D-Bus method call completion functions: */ 697s # void org_project_useful_interface_complete_useful_method ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # 697s # 697s # /* D-Bus method calls: */ 697s # void org_project_useful_interface_call_useful_method ( 697s # OrgProjectUsefulInterface *proxy, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_finish ( 697s # OrgProjectUsefulInterface *proxy, 697s # GAsyncResult *res, 697s # GError **error); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_sync ( 697s # OrgProjectUsefulInterface *proxy, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 697s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 697s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceProxy 697s # { 697s # /*< private >*/ 697s # GDBusProxy parent_instance; 697s # OrgProjectUsefulInterfaceProxyPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceProxyClass 697s # { 697s # GDBusProxyClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 697s # #endif 697s # 697s # void org_project_useful_interface_proxy_new ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # void org_project_useful_interface_proxy_new_for_bus ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeleton 697s # { 697s # /*< private >*/ 697s # GDBusInterfaceSkeleton parent_instance; 697s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeletonClass 697s # { 697s # GDBusInterfaceSkeletonClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 697s # #endif 697s # 697s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 697s # 697s # 697s # G_END_DECLS 697s # 697s # #endif /* __STDOUT__ */ 697s # Error: 697s # 697s # /tmp/tmpjeom1qrs/tmplivau61k.xml: 697s # 697s # 697s # 697s # 697s # 697s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjeom1qrs/tmplivau61k.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 697s # Return code: 0 697s # Output: 697s # /* 697s # * This file is generated by gdbus-codegen, do not modify it. 697s # * 697s # * The license of this code is the same as for the D-Bus interface description 697s # * it was derived from. Note that it links to GLib, so must comply with the 697s # * LGPL linking clauses. 697s # */ 697s # 697s # #ifndef __STDOUT__ 697s # #define __STDOUT__ 697s # 697s # #include 697s # 697s # G_BEGIN_DECLS 697s # 697s # 697s # /* ------------------------------------------------------------------------ */ 697s # /* Declarations for org.project.UsefulInterface */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 697s # 697s # struct _OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 697s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 697s # 697s # struct _OrgProjectUsefulInterfaceIface 697s # { 697s # GTypeInterface parent_iface; 697s # 697s # gboolean (*handle_useful_method) ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # }; 697s # 697s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 697s # 697s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 697s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 697s # 697s # 697s # /* D-Bus method call completion functions: */ 697s # void org_project_useful_interface_complete_useful_method ( 697s # OrgProjectUsefulInterface *object, 697s # GDBusMethodInvocation *invocation); 697s # 697s # 697s # 697s # /* D-Bus method calls: */ 697s # void org_project_useful_interface_call_useful_method ( 697s # OrgProjectUsefulInterface *proxy, 697s # GDBusCallFlags call_flags, 697s # gint timeout_msec, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_finish ( 697s # OrgProjectUsefulInterface *proxy, 697s # GAsyncResult *res, 697s # GError **error); 697s # 697s # gboolean org_project_useful_interface_call_useful_method_sync ( 697s # OrgProjectUsefulInterface *proxy, 697s # GDBusCallFlags call_flags, 697s # gint timeout_msec, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 697s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 697s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceProxy 697s # { 697s # /*< private >*/ 697s # GDBusProxy parent_instance; 697s # OrgProjectUsefulInterfaceProxyPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceProxyClass 697s # { 697s # GDBusProxyClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 697s # #endif 697s # 697s # void org_project_useful_interface_proxy_new ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 697s # GDBusConnection *connection, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # void org_project_useful_interface_proxy_new_for_bus ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GAsyncReadyCallback callback, 697s # gpointer user_data); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 697s # GAsyncResult *res, 697s # GError **error); 697s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 697s # GBusType bus_type, 697s # GDBusProxyFlags flags, 697s # const gchar *name, 697s # const gchar *object_path, 697s # GCancellable *cancellable, 697s # GError **error); 697s # 697s # 697s # /* ---- */ 697s # 697s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 697s # 697s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 697s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeleton 697s # { 697s # /*< private >*/ 697s # GDBusInterfaceSkeleton parent_instance; 697s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 697s # }; 697s # 697s # struct _OrgProjectUsefulInterfaceSkeletonClass 697s # { 697s # GDBusInterfaceSkeletonClass parent_class; 697s # }; 697s # 697s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 697s # 697s # #if GLIB_CHECK_VERSION(2, 44, 0) 697s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 697s # #endif 697s # 697s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 697s # 697s # 697s # G_END_DECLS 697s # 697s # #endif /* __STDOUT__ */ 697s # Error: 698s # Executing: glib/codegen.py.test 698s ok 2 __main__.TestCodegen.test_dbus_types 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmplq5ilaeh 698s # /tmp/tmplq5ilaeh/tmpdb0nkd7e.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmpdb0nkd7e.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 698s # /tmp/tmplq5ilaeh/tmp2ofjhbyo.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp2ofjhbyo.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 698s # /tmp/tmplq5ilaeh/tmp8s31z2pf.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp8s31z2pf.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 698s # /tmp/tmplq5ilaeh/tmprc5w4xp3.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmprc5w4xp3.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 698s # /tmp/tmplq5ilaeh/tmp9hp4fl_d.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp9hp4fl_d.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 698s # /tmp/tmplq5ilaeh/tmp2qlwi3yc.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp2qlwi3yc.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 698s # /tmp/tmplq5ilaeh/tmp1qc41a74.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp1qc41a74.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 698s # /tmp/tmplq5ilaeh/tmppqtjvqk_.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmppqtjvqk_.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 698s # /tmp/tmplq5ilaeh/tmpxute30n_.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmpxute30n_.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 698s # /tmp/tmplq5ilaeh/tmp6ea2mbk2.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp6ea2mbk2.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: D-Bus maximum signature length of 255 exceeded. 698s # /tmp/tmplq5ilaeh/tmp8h8b3xgl.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp8h8b3xgl.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: D-Bus maximum signature length of 255 exceeded. 698s # /tmp/tmplq5ilaeh/tmp40gxnkcv.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp40gxnkcv.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 698s # /tmp/tmplq5ilaeh/tmpp9smtkbn.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmpp9smtkbn.xml', '--output', '-', '--body'] 698s # Return code: 1 698s # Output: 698s # 698s # Error: 698s # ERROR: D-Bus maximum signature length of 255 exceeded. 698s # /tmp/tmplq5ilaeh/tmp7cy49gmm.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp7cy49gmm.xml', '--output', '-', '--body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # #ifdef G_OS_UNIX 698s # # include 698s # #endif 698s # 698s # #ifdef G_ENABLE_DEBUG 698s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 698s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 698s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 698s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 698s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 698s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 698s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 698s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 698s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 698s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 698s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 698s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 698s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 698s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 698s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 698s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 698s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 698s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 698s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 698s # #else /* !G_ENABLE_DEBUG */ 698s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 698s # * Do not access GValues directly in your code. Instead, use the 698s # * g_value_get_*() functions 698s # */ 698s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 698s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 698s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 698s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 698s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 698s # #endif /* !G_ENABLE_DEBUG */ 698s # 698s # typedef struct 698s # { 698s # GDBusArgInfo parent_struct; 698s # gboolean use_gvariant; 698s # } _ExtendedGDBusArgInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusMethodInfo parent_struct; 698s # const gchar *signal_name; 698s # gboolean pass_fdlist; 698s # } _ExtendedGDBusMethodInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusSignalInfo parent_struct; 698s # const gchar *signal_name; 698s # } _ExtendedGDBusSignalInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusPropertyInfo parent_struct; 698s # const gchar *hyphen_name; 698s # guint use_gvariant : 1; 698s # guint emits_changed_signal : 1; 698s # } _ExtendedGDBusPropertyInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusInterfaceInfo parent_struct; 698s # const gchar *hyphen_name; 698s # } _ExtendedGDBusInterfaceInfo; 698s # 698s # typedef struct 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # guint prop_id; 698s # GValue orig_value; /* the value before the change */ 698s # } ChangedProperty; 698s # 698s # static void 698s # _changed_property_free (ChangedProperty *data) 698s # { 698s # g_value_unset (&data->orig_value); 698s # g_free (data); 698s # } 698s # 698s # static gboolean 698s # _g_strv_equal0 (gchar **a, gchar **b) 698s # { 698s # gboolean ret = FALSE; 698s # guint n; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # if (g_strv_length (a) != g_strv_length (b)) 698s # goto out; 698s # for (n = 0; a[n] != NULL; n++) 698s # if (g_strcmp0 (a[n], b[n]) != 0) 698s # goto out; 698s # ret = TRUE; 698s # out: 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _g_variant_equal0 (GVariant *a, GVariant *b) 698s # { 698s # gboolean ret = FALSE; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # ret = g_variant_equal (a, b); 698s # out: 698s # return ret; 698s # } 698s # 698s # G_GNUC_UNUSED static gboolean 698s # _g_value_equal (const GValue *a, const GValue *b) 698s # { 698s # gboolean ret = FALSE; 698s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 698s # switch (G_VALUE_TYPE (a)) 698s # { 698s # case G_TYPE_BOOLEAN: 698s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 698s # break; 698s # case G_TYPE_UCHAR: 698s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 698s # break; 698s # case G_TYPE_INT: 698s # ret = (g_value_get_int (a) == g_value_get_int (b)); 698s # break; 698s # case G_TYPE_UINT: 698s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 698s # break; 698s # case G_TYPE_INT64: 698s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 698s # break; 698s # case G_TYPE_UINT64: 698s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 698s # break; 698s # case G_TYPE_DOUBLE: 698s # { 698s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 698s # gdouble da = g_value_get_double (a); 698s # gdouble db = g_value_get_double (b); 698s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 698s # } 698s # break; 698s # case G_TYPE_STRING: 698s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 698s # break; 698s # case G_TYPE_VARIANT: 698s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 698s # break; 698s # default: 698s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 698s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 698s # else 698s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 698s # break; 698s # } 698s # return ret; 698s # } 698s # 698s # /* ------------------------------------------------------------------------ 698s # * Code for interface GoodTypes 698s # * ------------------------------------------------------------------------ 698s # */ 698s # 698s # /** 698s # * SECTION:GoodTypes 698s # * @title: GoodTypes 698s # * @short_description: Generated C code for the GoodTypes D-Bus interface 698s # * 698s # * This section contains code for working with the GoodTypes D-Bus interface in C. 698s # */ 698s # 698s # /* ---- Introspection data for GoodTypes ---- */ 698s # 698s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodPropertyType", 698s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 698s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 698s # NULL 698s # }, 698s # "good-property-type", 698s # FALSE, 698s # TRUE 698s # }; 698s # 698s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 698s # { 698s # &_good_types_property_info_good_property_type.parent_struct, 698s # NULL 698s # }; 698s # 698s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodTypes", 698s # NULL, 698s # NULL, 698s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 698s # NULL 698s # }, 698s # "good-types", 698s # }; 698s # 698s # 698s # /** 698s # * good_types_interface_info: 698s # * 698s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 698s # * 698s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 698s # */ 698s # GDBusInterfaceInfo * 698s # good_types_interface_info (void) 698s # { 698s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 698s # } 698s # 698s # /** 698s # * good_types_override_properties: 698s # * @klass: The class structure for a #GObject derived class. 698s # * @property_id_begin: The property id to assign to the first overridden property. 698s # * 698s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 698s # * The properties are overridden in the order they are defined. 698s # * 698s # * Returns: The last property id. 698s # */ 698s # guint 698s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 698s # { 698s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 698s # return property_id_begin - 1; 698s # } 698s # 698s # 698s # 698s # /** 698s # * GoodTypes: 698s # * 698s # * Abstract interface type for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # /** 698s # * GoodTypesIface: 698s # * @parent_iface: The parent interface. 698s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 698s # * 698s # * Virtual table for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # typedef GoodTypesIface GoodTypesInterface; 698s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 698s # 698s # static void 698s # good_types_default_init (GoodTypesIface *iface) 698s # { 698s # /* GObject properties for D-Bus properties: */ 698s # /** 698s # * GoodTypes:good-property-type: 698s # * 698s # * Represents the D-Bus property "GoodPropertyType". 698s # * 698s # * 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. 698s # */ 698s # g_object_interface_install_property (iface, 698s # 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)); 698s # } 698s # 698s # /** 698s # * good_types_get_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets the value of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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. 698s # * 698s # * 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. 698s # */ 698s # GVariant * 698s # good_types_get_good_property_type (GoodTypes *object) 698s # { 698s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 698s # 698s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 698s # } 698s # 698s # /** 698s # * good_types_dup_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets a copy of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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(). 698s # */ 698s # GVariant * 698s # good_types_dup_good_property_type (GoodTypes *object) 698s # { 698s # GVariant *value; 698s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 698s # return value; 698s # } 698s # 698s # /** 698s # * good_types_set_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * @value: The value to set. 698s # * 698s # * Sets the "GoodPropertyType" D-Bus property to @value. 698s # * 698s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 698s # */ 698s # void 698s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 698s # { 698s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesProxy: 698s # * 698s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesProxyClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesProxy. 698s # */ 698s # 698s # struct _GoodTypesProxyPrivate 698s # { 698s # GData *qdata; 698s # }; 698s # 698s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_ADD_PRIVATE (GoodTypesProxy) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_proxy_finalize (GObject *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # g_datalist_clear (&proxy->priv->qdata); 698s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_proxy_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 698s # if (info->use_gvariant) 698s # { 698s # g_value_set_variant (value, variant); 698s # } 698s # else 698s # { 698s # if (variant != NULL) 698s # g_dbus_gvariant_to_gvalue (variant, value); 698s # } 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 698s # GAsyncResult *res, 698s # gpointer user_data) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info = user_data; 698s # GError *error; 698s # GVariant *_ret; 698s # error = NULL; 698s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 698s # if (!_ret) 698s # { 698s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 698s # info->parent_struct.name, 698s # error->message, g_quark_to_string (error->domain), error->code); 698s # g_error_free (error); 698s # } 698s # else 698s # { 698s # g_variant_unref (_ret); 698s # } 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_dbus_proxy_call (G_DBUS_PROXY (object), 698s # "org.freedesktop.DBus.Properties.Set", 698s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_signal (GDBusProxy *proxy, 698s # const gchar *sender_name G_GNUC_UNUSED, 698s # const gchar *signal_name, 698s # GVariant *parameters) 698s # { 698s # _ExtendedGDBusSignalInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # gsize n; 698s # guint signal_id; 698s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 698s # if (info == NULL) 698s # return; 698s # num_params = g_variant_n_children (parameters); 698s # paramv = g_new0 (GValue, num_params + 1); 698s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[0], proxy); 698s # g_variant_iter_init (&iter, parameters); 698s # n = 1; 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_signal_emitv (paramv, signal_id, 0, NULL); 698s # for (n = 0; n < num_params + 1; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 698s # GVariant *changed_properties, 698s # const gchar *const *invalidated_properties) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 698s # guint n; 698s # const gchar *key; 698s # GVariantIter *iter; 698s # _ExtendedGDBusPropertyInfo *info; 698s # g_variant_get (changed_properties, "a{sv}", &iter); 698s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 698s # g_datalist_remove_data (&proxy->priv->qdata, key); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # g_variant_iter_free (iter); 698s # for (n = 0; invalidated_properties[n] != NULL; n++) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 698s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # } 698s # 698s # static GVariant * 698s # good_types_proxy_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # GVariant *variant; 698s # GVariant *value = NULL; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 698s # value = variant; 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_proxy_init (GoodTypesProxy *proxy) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # proxy->priv = good_types_proxy_get_instance_private (proxy); 698s # #else 698s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 698s # #endif 698s # 698s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 698s # } 698s # 698s # static void 698s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusProxyClass *proxy_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_proxy_finalize; 698s # gobject_class->get_property = good_types_proxy_get_property; 698s # gobject_class->set_property = good_types_proxy_set_property; 698s # 698s # proxy_class = G_DBUS_PROXY_CLASS (klass); 698s # proxy_class->g_signal = good_types_proxy_g_signal; 698s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_proxy_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_sync: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_sync ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /** 698s # * good_types_proxy_new_for_bus: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new_for_bus ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new_for_bus(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_sync: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_sync ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesSkeleton: 698s # * 698s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesSkeletonClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesSkeleton. 698s # */ 698s # 698s # struct _GoodTypesSkeletonPrivate 698s # { 698s # GValue *properties; 698s # GList *changed_properties; 698s # GSource *changed_properties_idle_source; 698s # GMainContext *context; 698s # GMutex lock; 698s # }; 698s # 698s # static void 698s # _good_types_skeleton_handle_method_call ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name, 698s # const gchar *method_name, 698s # GVariant *parameters, 698s # GDBusMethodInvocation *invocation, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # _ExtendedGDBusMethodInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # guint num_extra; 698s # gsize n; 698s # guint signal_id; 698s # GValue return_value = G_VALUE_INIT; 698s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 698s # g_assert (info != NULL); 698s # num_params = g_variant_n_children (parameters); 698s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 698s # n = 0; 698s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[n++], skeleton); 698s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 698s # g_value_set_object (¶mv[n++], invocation); 698s # if (info->pass_fdlist) 698s # { 698s # #ifdef G_OS_UNIX 698s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 698s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 698s # #else 698s # g_assert_not_reached (); 698s # #endif 698s # } 698s # g_variant_iter_init (&iter, parameters); 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_value_init (&return_value, G_TYPE_BOOLEAN); 698s # g_signal_emitv (paramv, signal_id, 0, &return_value); 698s # if (!g_value_get_boolean (&return_value)) 698s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 698s # g_value_unset (&return_value); 698s # for (n = 0; n < num_params + num_extra; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static GVariant * 698s # _good_types_skeleton_handle_get_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # GVariant *ret; 698s # ret = NULL; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # g_value_init (&value, pspec->value_type); 698s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_value_unset (&value); 698s # } 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _good_types_skeleton_handle_set_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GVariant *variant, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # gboolean ret; 698s # ret = FALSE; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # if (info->use_gvariant) 698s # g_value_set_variant (&value, variant); 698s # else 698s # g_dbus_gvariant_to_gvalue (variant, &value); 698s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # g_value_unset (&value); 698s # ret = TRUE; 698s # } 698s # return ret; 698s # } 698s # 698s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 698s # { 698s # _good_types_skeleton_handle_method_call, 698s # _good_types_skeleton_handle_get_property, 698s # _good_types_skeleton_handle_set_property, 698s # {NULL} 698s # }; 698s # 698s # static GDBusInterfaceInfo * 698s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return good_types_interface_info (); 698s # } 698s # 698s # static GDBusInterfaceVTable * 698s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # 698s # GVariantBuilder builder; 698s # guint n; 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #else 698s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #endif 698s # if (_good_types_interface_info.parent_struct.properties == NULL) 698s # goto out; 698s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 698s # { 698s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 698s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 698s # { 698s # GVariant *value; 698s # 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); 698s # if (value != NULL) 698s # { 698s # g_variant_take_ref (value); 698s # g_variant_builder_add (&builder, "{sv}", info->name, value); 698s # g_variant_unref (value); 698s # } 698s # } 698s # } 698s # out: 698s # return g_variant_builder_end (&builder); 698s # } 698s # 698s # static gboolean _good_types_emit_changed (gpointer user_data); 698s # 698s # static void 698s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # gboolean emit_changed = FALSE; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # { 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # emit_changed = TRUE; 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # 698s # if (emit_changed) 698s # _good_types_emit_changed (skeleton); 698s # } 698s # 698s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_ADD_PRIVATE (GoodTypesSkeleton) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_skeleton_finalize (GObject *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # guint n; 698s # for (n = 0; n < 1; n++) 698s # g_value_unset (&skeleton->priv->properties[n]); 698s # g_free (skeleton->priv->properties); 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # g_main_context_unref (skeleton->priv->context); 698s # g_mutex_clear (&skeleton->priv->lock); 698s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static gboolean 698s # _good_types_emit_changed (gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GList *l; 698s # GVariantBuilder builder; 698s # GVariantBuilder invalidated_builder; 698s # guint num_changes; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #else 698s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #endif 698s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *cp = l->data; 698s # GVariant *variant; 698s # const GValue *cur_value; 698s # 698s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 698s # if (!_g_value_equal (cur_value, &cp->orig_value)) 698s # { 698s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 698s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 698s # g_variant_unref (variant); 698s # num_changes++; 698s # } 698s # } 698s # if (num_changes > 0) 698s # { 698s # GList *connections, *ll; 698s # GVariant *signal_variant; 698s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 698s # &builder, &invalidated_builder)); 698s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 698s # for (ll = connections; ll != NULL; ll = ll->next) 698s # { 698s # GDBusConnection *connection = ll->data; 698s # 698s # g_dbus_connection_emit_signal (connection, 698s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 698s # "org.freedesktop.DBus.Properties", 698s # "PropertiesChanged", 698s # signal_variant, 698s # NULL); 698s # } 698s # g_variant_unref (signal_variant); 698s # g_list_free_full (connections, g_object_unref); 698s # } 698s # else 698s # { 698s # g_variant_builder_clear (&builder); 698s # g_variant_builder_clear (&invalidated_builder); 698s # } 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # skeleton->priv->changed_properties = NULL; 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return FALSE; 698s # } 698s # 698s # static void 698s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 698s # { 698s # ChangedProperty *cp; 698s # GList *l; 698s # cp = NULL; 698s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *i_cp = l->data; 698s # if (i_cp->info == info) 698s # { 698s # cp = i_cp; 698s # break; 698s # } 698s # } 698s # if (cp == NULL) 698s # { 698s # cp = g_new0 (ChangedProperty, 1); 698s # cp->prop_id = prop_id; 698s # cp->info = info; 698s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 698s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 698s # g_value_copy (orig_value, &cp->orig_value); 698s # } 698s # } 698s # 698s # static void 698s # good_types_skeleton_notify (GObject *object, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties != NULL && 698s # skeleton->priv->changed_properties_idle_source == NULL) 698s # { 698s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 698s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 698s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 698s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 698s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 698s # g_source_unref (skeleton->priv->changed_properties_idle_source); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static void 698s # good_types_skeleton_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_object_freeze_notify (object); 698s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 698s # { 698s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 698s # info->emits_changed_signal) 698s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 698s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 698s # g_object_notify_by_pspec (object, pspec); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # g_object_thaw_notify (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 698s # #else 698s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 698s # #endif 698s # 698s # g_mutex_init (&skeleton->priv->lock); 698s # skeleton->priv->context = g_main_context_ref_thread_default (); 698s # skeleton->priv->properties = g_new0 (GValue, 1); 698s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # GVariant *value; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusInterfaceSkeletonClass *skeleton_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_skeleton_finalize; 698s # gobject_class->get_property = good_types_skeleton_get_property; 698s # gobject_class->set_property = good_types_skeleton_set_property; 698s # gobject_class->notify = good_types_skeleton_notify; 698s # 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 698s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 698s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 698s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 698s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_skeleton_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_skeleton_new: 698s # * 698s # * Creates a skeleton object for the D-Bus interface GoodTypes. 698s # * 698s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 698s # */ 698s # GoodTypes * 698s # good_types_skeleton_new (void) 698s # { 698s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 698s # } 698s # Error: 698s # 698s # /tmp/tmplq5ilaeh/tmp_o72s8_x.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp_o72s8_x.xml', '--output', '-', '--body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # #ifdef G_OS_UNIX 698s # # include 698s # #endif 698s # 698s # #ifdef G_ENABLE_DEBUG 698s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 698s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 698s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 698s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 698s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 698s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 698s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 698s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 698s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 698s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 698s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 698s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 698s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 698s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 698s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 698s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 698s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 698s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 698s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 698s # #else /* !G_ENABLE_DEBUG */ 698s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 698s # * Do not access GValues directly in your code. Instead, use the 698s # * g_value_get_*() functions 698s # */ 698s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 698s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 698s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 698s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 698s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 698s # #endif /* !G_ENABLE_DEBUG */ 698s # 698s # typedef struct 698s # { 698s # GDBusArgInfo parent_struct; 698s # gboolean use_gvariant; 698s # } _ExtendedGDBusArgInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusMethodInfo parent_struct; 698s # const gchar *signal_name; 698s # gboolean pass_fdlist; 698s # } _ExtendedGDBusMethodInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusSignalInfo parent_struct; 698s # const gchar *signal_name; 698s # } _ExtendedGDBusSignalInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusPropertyInfo parent_struct; 698s # const gchar *hyphen_name; 698s # guint use_gvariant : 1; 698s # guint emits_changed_signal : 1; 698s # } _ExtendedGDBusPropertyInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusInterfaceInfo parent_struct; 698s # const gchar *hyphen_name; 698s # } _ExtendedGDBusInterfaceInfo; 698s # 698s # typedef struct 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # guint prop_id; 698s # GValue orig_value; /* the value before the change */ 698s # } ChangedProperty; 698s # 698s # static void 698s # _changed_property_free (ChangedProperty *data) 698s # { 698s # g_value_unset (&data->orig_value); 698s # g_free (data); 698s # } 698s # 698s # static gboolean 698s # _g_strv_equal0 (gchar **a, gchar **b) 698s # { 698s # gboolean ret = FALSE; 698s # guint n; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # if (g_strv_length (a) != g_strv_length (b)) 698s # goto out; 698s # for (n = 0; a[n] != NULL; n++) 698s # if (g_strcmp0 (a[n], b[n]) != 0) 698s # goto out; 698s # ret = TRUE; 698s # out: 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _g_variant_equal0 (GVariant *a, GVariant *b) 698s # { 698s # gboolean ret = FALSE; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # ret = g_variant_equal (a, b); 698s # out: 698s # return ret; 698s # } 698s # 698s # G_GNUC_UNUSED static gboolean 698s # _g_value_equal (const GValue *a, const GValue *b) 698s # { 698s # gboolean ret = FALSE; 698s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 698s # switch (G_VALUE_TYPE (a)) 698s # { 698s # case G_TYPE_BOOLEAN: 698s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 698s # break; 698s # case G_TYPE_UCHAR: 698s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 698s # break; 698s # case G_TYPE_INT: 698s # ret = (g_value_get_int (a) == g_value_get_int (b)); 698s # break; 698s # case G_TYPE_UINT: 698s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 698s # break; 698s # case G_TYPE_INT64: 698s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 698s # break; 698s # case G_TYPE_UINT64: 698s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 698s # break; 698s # case G_TYPE_DOUBLE: 698s # { 698s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 698s # gdouble da = g_value_get_double (a); 698s # gdouble db = g_value_get_double (b); 698s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 698s # } 698s # break; 698s # case G_TYPE_STRING: 698s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 698s # break; 698s # case G_TYPE_VARIANT: 698s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 698s # break; 698s # default: 698s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 698s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 698s # else 698s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 698s # break; 698s # } 698s # return ret; 698s # } 698s # 698s # /* ------------------------------------------------------------------------ 698s # * Code for interface GoodTypes 698s # * ------------------------------------------------------------------------ 698s # */ 698s # 698s # /** 698s # * SECTION:GoodTypes 698s # * @title: GoodTypes 698s # * @short_description: Generated C code for the GoodTypes D-Bus interface 698s # * 698s # * This section contains code for working with the GoodTypes D-Bus interface in C. 698s # */ 698s # 698s # /* ---- Introspection data for GoodTypes ---- */ 698s # 698s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodPropertyType", 698s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 698s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 698s # NULL 698s # }, 698s # "good-property-type", 698s # FALSE, 698s # TRUE 698s # }; 698s # 698s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 698s # { 698s # &_good_types_property_info_good_property_type.parent_struct, 698s # NULL 698s # }; 698s # 698s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodTypes", 698s # NULL, 698s # NULL, 698s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 698s # NULL 698s # }, 698s # "good-types", 698s # }; 698s # 698s # 698s # /** 698s # * good_types_interface_info: 698s # * 698s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 698s # * 698s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 698s # */ 698s # GDBusInterfaceInfo * 698s # good_types_interface_info (void) 698s # { 698s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 698s # } 698s # 698s # /** 698s # * good_types_override_properties: 698s # * @klass: The class structure for a #GObject derived class. 698s # * @property_id_begin: The property id to assign to the first overridden property. 698s # * 698s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 698s # * The properties are overridden in the order they are defined. 698s # * 698s # * Returns: The last property id. 698s # */ 698s # guint 698s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 698s # { 698s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 698s # return property_id_begin - 1; 698s # } 698s # 698s # 698s # 698s # /** 698s # * GoodTypes: 698s # * 698s # * Abstract interface type for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # /** 698s # * GoodTypesIface: 698s # * @parent_iface: The parent interface. 698s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 698s # * 698s # * Virtual table for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # typedef GoodTypesIface GoodTypesInterface; 698s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 698s # 698s # static void 698s # good_types_default_init (GoodTypesIface *iface) 698s # { 698s # /* GObject properties for D-Bus properties: */ 698s # /** 698s # * GoodTypes:good-property-type: 698s # * 698s # * Represents the D-Bus property "GoodPropertyType". 698s # * 698s # * 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. 698s # */ 698s # g_object_interface_install_property (iface, 698s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 698s # } 698s # 698s # /** 698s # * good_types_get_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets the value of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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. 698s # * 698s # * 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. 698s # */ 698s # GVariant * 698s # good_types_get_good_property_type (GoodTypes *object) 698s # { 698s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 698s # 698s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 698s # } 698s # 698s # /** 698s # * good_types_dup_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets a copy of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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(). 698s # */ 698s # GVariant * 698s # good_types_dup_good_property_type (GoodTypes *object) 698s # { 698s # GVariant *value; 698s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 698s # return value; 698s # } 698s # 698s # /** 698s # * good_types_set_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * @value: The value to set. 698s # * 698s # * Sets the "GoodPropertyType" D-Bus property to @value. 698s # * 698s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 698s # */ 698s # void 698s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 698s # { 698s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesProxy: 698s # * 698s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesProxyClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesProxy. 698s # */ 698s # 698s # struct _GoodTypesProxyPrivate 698s # { 698s # GData *qdata; 698s # }; 698s # 698s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_ADD_PRIVATE (GoodTypesProxy) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_proxy_finalize (GObject *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # g_datalist_clear (&proxy->priv->qdata); 698s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_proxy_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 698s # if (info->use_gvariant) 698s # { 698s # g_value_set_variant (value, variant); 698s # } 698s # else 698s # { 698s # if (variant != NULL) 698s # g_dbus_gvariant_to_gvalue (variant, value); 698s # } 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 698s # GAsyncResult *res, 698s # gpointer user_data) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info = user_data; 698s # GError *error; 698s # GVariant *_ret; 698s # error = NULL; 698s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 698s # if (!_ret) 698s # { 698s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 698s # info->parent_struct.name, 698s # error->message, g_quark_to_string (error->domain), error->code); 698s # g_error_free (error); 698s # } 698s # else 698s # { 698s # g_variant_unref (_ret); 698s # } 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_dbus_proxy_call (G_DBUS_PROXY (object), 698s # "org.freedesktop.DBus.Properties.Set", 698s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_signal (GDBusProxy *proxy, 698s # const gchar *sender_name G_GNUC_UNUSED, 698s # const gchar *signal_name, 698s # GVariant *parameters) 698s # { 698s # _ExtendedGDBusSignalInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # gsize n; 698s # guint signal_id; 698s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 698s # if (info == NULL) 698s # return; 698s # num_params = g_variant_n_children (parameters); 698s # paramv = g_new0 (GValue, num_params + 1); 698s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[0], proxy); 698s # g_variant_iter_init (&iter, parameters); 698s # n = 1; 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_signal_emitv (paramv, signal_id, 0, NULL); 698s # for (n = 0; n < num_params + 1; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 698s # GVariant *changed_properties, 698s # const gchar *const *invalidated_properties) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 698s # guint n; 698s # const gchar *key; 698s # GVariantIter *iter; 698s # _ExtendedGDBusPropertyInfo *info; 698s # g_variant_get (changed_properties, "a{sv}", &iter); 698s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 698s # g_datalist_remove_data (&proxy->priv->qdata, key); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # g_variant_iter_free (iter); 698s # for (n = 0; invalidated_properties[n] != NULL; n++) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 698s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # } 698s # 698s # static GVariant * 698s # good_types_proxy_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # GVariant *variant; 698s # GVariant *value = NULL; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 698s # value = variant; 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_proxy_init (GoodTypesProxy *proxy) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # proxy->priv = good_types_proxy_get_instance_private (proxy); 698s # #else 698s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 698s # #endif 698s # 698s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 698s # } 698s # 698s # static void 698s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusProxyClass *proxy_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_proxy_finalize; 698s # gobject_class->get_property = good_types_proxy_get_property; 698s # gobject_class->set_property = good_types_proxy_set_property; 698s # 698s # proxy_class = G_DBUS_PROXY_CLASS (klass); 698s # proxy_class->g_signal = good_types_proxy_g_signal; 698s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_proxy_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_sync: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_sync ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /** 698s # * good_types_proxy_new_for_bus: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new_for_bus ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new_for_bus(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_sync: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_sync ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesSkeleton: 698s # * 698s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesSkeletonClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesSkeleton. 698s # */ 698s # 698s # struct _GoodTypesSkeletonPrivate 698s # { 698s # GValue *properties; 698s # GList *changed_properties; 698s # GSource *changed_properties_idle_source; 698s # GMainContext *context; 698s # GMutex lock; 698s # }; 698s # 698s # static void 698s # _good_types_skeleton_handle_method_call ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name, 698s # const gchar *method_name, 698s # GVariant *parameters, 698s # GDBusMethodInvocation *invocation, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # _ExtendedGDBusMethodInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # guint num_extra; 698s # gsize n; 698s # guint signal_id; 698s # GValue return_value = G_VALUE_INIT; 698s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 698s # g_assert (info != NULL); 698s # num_params = g_variant_n_children (parameters); 698s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 698s # n = 0; 698s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[n++], skeleton); 698s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 698s # g_value_set_object (¶mv[n++], invocation); 698s # if (info->pass_fdlist) 698s # { 698s # #ifdef G_OS_UNIX 698s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 698s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 698s # #else 698s # g_assert_not_reached (); 698s # #endif 698s # } 698s # g_variant_iter_init (&iter, parameters); 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_value_init (&return_value, G_TYPE_BOOLEAN); 698s # g_signal_emitv (paramv, signal_id, 0, &return_value); 698s # if (!g_value_get_boolean (&return_value)) 698s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 698s # g_value_unset (&return_value); 698s # for (n = 0; n < num_params + num_extra; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static GVariant * 698s # _good_types_skeleton_handle_get_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # GVariant *ret; 698s # ret = NULL; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # g_value_init (&value, pspec->value_type); 698s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_value_unset (&value); 698s # } 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _good_types_skeleton_handle_set_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GVariant *variant, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # gboolean ret; 698s # ret = FALSE; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # if (info->use_gvariant) 698s # g_value_set_variant (&value, variant); 698s # else 698s # g_dbus_gvariant_to_gvalue (variant, &value); 698s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # g_value_unset (&value); 698s # ret = TRUE; 698s # } 698s # return ret; 698s # } 698s # 698s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 698s # { 698s # _good_types_skeleton_handle_method_call, 698s # _good_types_skeleton_handle_get_property, 698s # _good_types_skeleton_handle_set_property, 698s # {NULL} 698s # }; 698s # 698s # static GDBusInterfaceInfo * 698s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return good_types_interface_info (); 698s # } 698s # 698s # static GDBusInterfaceVTable * 698s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # 698s # GVariantBuilder builder; 698s # guint n; 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #else 698s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #endif 698s # if (_good_types_interface_info.parent_struct.properties == NULL) 698s # goto out; 698s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 698s # { 698s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 698s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 698s # { 698s # GVariant *value; 698s # 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); 698s # if (value != NULL) 698s # { 698s # g_variant_take_ref (value); 698s # g_variant_builder_add (&builder, "{sv}", info->name, value); 698s # g_variant_unref (value); 698s # } 698s # } 698s # } 698s # out: 698s # return g_variant_builder_end (&builder); 698s # } 698s # 698s # static gboolean _good_types_emit_changed (gpointer user_data); 698s # 698s # static void 698s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # gboolean emit_changed = FALSE; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # { 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # emit_changed = TRUE; 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # 698s # if (emit_changed) 698s # _good_types_emit_changed (skeleton); 698s # } 698s # 698s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_ADD_PRIVATE (GoodTypesSkeleton) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_skeleton_finalize (GObject *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # guint n; 698s # for (n = 0; n < 1; n++) 698s # g_value_unset (&skeleton->priv->properties[n]); 698s # g_free (skeleton->priv->properties); 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # g_main_context_unref (skeleton->priv->context); 698s # g_mutex_clear (&skeleton->priv->lock); 698s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static gboolean 698s # _good_types_emit_changed (gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GList *l; 698s # GVariantBuilder builder; 698s # GVariantBuilder invalidated_builder; 698s # guint num_changes; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #else 698s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #endif 698s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *cp = l->data; 698s # GVariant *variant; 698s # const GValue *cur_value; 698s # 698s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 698s # if (!_g_value_equal (cur_value, &cp->orig_value)) 698s # { 698s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 698s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 698s # g_variant_unref (variant); 698s # num_changes++; 698s # } 698s # } 698s # if (num_changes > 0) 698s # { 698s # GList *connections, *ll; 698s # GVariant *signal_variant; 698s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 698s # &builder, &invalidated_builder)); 698s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 698s # for (ll = connections; ll != NULL; ll = ll->next) 698s # { 698s # GDBusConnection *connection = ll->data; 698s # 698s # g_dbus_connection_emit_signal (connection, 698s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 698s # "org.freedesktop.DBus.Properties", 698s # "PropertiesChanged", 698s # signal_variant, 698s # NULL); 698s # } 698s # g_variant_unref (signal_variant); 698s # g_list_free_full (connections, g_object_unref); 698s # } 698s # else 698s # { 698s # g_variant_builder_clear (&builder); 698s # g_variant_builder_clear (&invalidated_builder); 698s # } 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # skeleton->priv->changed_properties = NULL; 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return FALSE; 698s # } 698s # 698s # static void 698s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 698s # { 698s # ChangedProperty *cp; 698s # GList *l; 698s # cp = NULL; 698s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *i_cp = l->data; 698s # if (i_cp->info == info) 698s # { 698s # cp = i_cp; 698s # break; 698s # } 698s # } 698s # if (cp == NULL) 698s # { 698s # cp = g_new0 (ChangedProperty, 1); 698s # cp->prop_id = prop_id; 698s # cp->info = info; 698s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 698s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 698s # g_value_copy (orig_value, &cp->orig_value); 698s # } 698s # } 698s # 698s # static void 698s # good_types_skeleton_notify (GObject *object, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties != NULL && 698s # skeleton->priv->changed_properties_idle_source == NULL) 698s # { 698s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 698s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 698s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 698s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 698s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 698s # g_source_unref (skeleton->priv->changed_properties_idle_source); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static void 698s # good_types_skeleton_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_object_freeze_notify (object); 698s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 698s # { 698s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 698s # info->emits_changed_signal) 698s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 698s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 698s # g_object_notify_by_pspec (object, pspec); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # g_object_thaw_notify (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 698s # #else 698s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 698s # #endif 698s # 698s # g_mutex_init (&skeleton->priv->lock); 698s # skeleton->priv->context = g_main_context_ref_thread_default (); 698s # skeleton->priv->properties = g_new0 (GValue, 1); 698s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # GVariant *value; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusInterfaceSkeletonClass *skeleton_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_skeleton_finalize; 698s # gobject_class->get_property = good_types_skeleton_get_property; 698s # gobject_class->set_property = good_types_skeleton_set_property; 698s # gobject_class->notify = good_types_skeleton_notify; 698s # 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 698s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 698s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 698s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 698s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_skeleton_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_skeleton_new: 698s # * 698s # * Creates a skeleton object for the D-Bus interface GoodTypes. 698s # * 698s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 698s # */ 698s # GoodTypes * 698s # good_types_skeleton_new (void) 698s # { 698s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 698s # } 698s # Error: 698s # 698s # /tmp/tmplq5ilaeh/tmp5b44eak0.xml: 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplq5ilaeh/tmp5b44eak0.xml', '--output', '-', '--body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # #ifdef G_OS_UNIX 698s # # include 698s # #endif 698s # 698s # #ifdef G_ENABLE_DEBUG 698s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 698s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 698s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 698s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 698s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 698s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 698s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 698s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 698s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 698s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 698s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 698s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 698s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 698s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 698s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 698s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 698s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 698s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 698s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 698s # #else /* !G_ENABLE_DEBUG */ 698s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 698s # * Do not access GValues directly in your code. Instead, use the 698s # * g_value_get_*() functions 698s # */ 698s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 698s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 698s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 698s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 698s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 698s # #endif /* !G_ENABLE_DEBUG */ 698s # 698s # typedef struct 698s # { 698s # GDBusArgInfo parent_struct; 698s # gboolean use_gvariant; 698s # } _ExtendedGDBusArgInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusMethodInfo parent_struct; 698s # const gchar *signal_name; 698s # gboolean pass_fdlist; 698s # } _ExtendedGDBusMethodInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusSignalInfo parent_struct; 698s # const gchar *signal_name; 698s # } _ExtendedGDBusSignalInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusPropertyInfo parent_struct; 698s # const gchar *hyphen_name; 698s # guint use_gvariant : 1; 698s # guint emits_changed_signal : 1; 698s # } _ExtendedGDBusPropertyInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusInterfaceInfo parent_struct; 698s # const gchar *hyphen_name; 698s # } _ExtendedGDBusInterfaceInfo; 698s # 698s # typedef struct 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # guint prop_id; 698s # GValue orig_value; /* the value before the change */ 698s # } ChangedProperty; 698s # 698s # static void 698s # _changed_property_free (ChangedProperty *data) 698s # { 698s # g_value_unset (&data->orig_value); 698s # g_free (data); 698s # } 698s # 698s # static gboolean 698s # _g_strv_equal0 (gchar **a, gchar **b) 698s # { 698s # gboolean ret = FALSE; 698s # guint n; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # if (g_strv_length (a) != g_strv_length (b)) 698s # goto out; 698s # for (n = 0; a[n] != NULL; n++) 698s # if (g_strcmp0 (a[n], b[n]) != 0) 698s # goto out; 698s # ret = TRUE; 698s # out: 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _g_variant_equal0 (GVariant *a, GVariant *b) 698s # { 698s # gboolean ret = FALSE; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # ret = g_variant_equal (a, b); 698s # out: 698s # return ret; 698s # } 698s # 698s # G_GNUC_UNUSED static gboolean 698s # _g_value_equal (const GValue *a, const GValue *b) 698s # { 698s # gboolean ret = FALSE; 698s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 698s # switch (G_VALUE_TYPE (a)) 698s # { 698s # case G_TYPE_BOOLEAN: 698s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 698s # break; 698s # case G_TYPE_UCHAR: 698s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 698s # break; 698s # case G_TYPE_INT: 698s # ret = (g_value_get_int (a) == g_value_get_int (b)); 698s # break; 698s # case G_TYPE_UINT: 698s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 698s # break; 698s # case G_TYPE_INT64: 698s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 698s # break; 698s # case G_TYPE_UINT64: 698s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 698s # break; 698s # case G_TYPE_DOUBLE: 698s # { 698s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 698s # gdouble da = g_value_get_double (a); 698s # gdouble db = g_value_get_double (b); 698s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 698s # } 698s # break; 698s # case G_TYPE_STRING: 698s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 698s # break; 698s # case G_TYPE_VARIANT: 698s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 698s # break; 698s # default: 698s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 698s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 698s # else 698s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 698s # break; 698s # } 698s # return ret; 698s # } 698s # 698s # /* ------------------------------------------------------------------------ 698s # * Code for interface GoodTypes 698s # * ------------------------------------------------------------------------ 698s # */ 698s # 698s # /** 698s # * SECTION:GoodTypes 698s # * @title: GoodTypes 698s # * @short_description: Generated C code for the GoodTypes D-Bus interface 698s # * 698s # * This section contains code for working with the GoodTypes D-Bus interface in C. 698s # */ 698s # 698s # /* ---- Introspection data for GoodTypes ---- */ 698s # 698s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodPropertyType", 698s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 698s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 698s # NULL 698s # }, 698s # "good-property-type", 698s # FALSE, 698s # TRUE 698s # }; 698s # 698s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 698s # { 698s # &_good_types_property_info_good_property_type.parent_struct, 698s # NULL 698s # }; 698s # 698s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 698s # { 698s # { 698s # -1, 698s # (gchar *) "GoodTypes", 698s # NULL, 698s # NULL, 698s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 698s # NULL 698s # }, 698s # "good-types", 698s # }; 698s # 698s # 698s # /** 698s # * good_types_interface_info: 698s # * 698s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 698s # * 698s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 698s # */ 698s # GDBusInterfaceInfo * 698s # good_types_interface_info (void) 698s # { 698s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 698s # } 698s # 698s # /** 698s # * good_types_override_properties: 698s # * @klass: The class structure for a #GObject derived class. 698s # * @property_id_begin: The property id to assign to the first overridden property. 698s # * 698s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 698s # * The properties are overridden in the order they are defined. 698s # * 698s # * Returns: The last property id. 698s # */ 698s # guint 698s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 698s # { 698s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 698s # return property_id_begin - 1; 698s # } 698s # 698s # 698s # 698s # /** 698s # * GoodTypes: 698s # * 698s # * Abstract interface type for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # /** 698s # * GoodTypesIface: 698s # * @parent_iface: The parent interface. 698s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 698s # * 698s # * Virtual table for the D-Bus interface GoodTypes. 698s # */ 698s # 698s # typedef GoodTypesIface GoodTypesInterface; 698s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 698s # 698s # static void 698s # good_types_default_init (GoodTypesIface *iface) 698s # { 698s # /* GObject properties for D-Bus properties: */ 698s # /** 698s # * GoodTypes:good-property-type: 698s # * 698s # * Represents the D-Bus property "GoodPropertyType". 698s # * 698s # * 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. 698s # */ 698s # g_object_interface_install_property (iface, 698s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 698s # } 698s # 698s # /** 698s # * good_types_get_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets the value of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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. 698s # * 698s # * 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. 698s # */ 698s # GVariant * 698s # good_types_get_good_property_type (GoodTypes *object) 698s # { 698s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 698s # 698s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 698s # } 698s # 698s # /** 698s # * good_types_dup_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * 698s # * Gets a copy of the "GoodPropertyType" D-Bus property. 698s # * 698s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 698s # * 698s # * 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(). 698s # */ 698s # GVariant * 698s # good_types_dup_good_property_type (GoodTypes *object) 698s # { 698s # GVariant *value; 698s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 698s # return value; 698s # } 698s # 698s # /** 698s # * good_types_set_good_property_type: (skip) 698s # * @object: A GoodTypes. 698s # * @value: The value to set. 698s # * 698s # * Sets the "GoodPropertyType" D-Bus property to @value. 698s # * 698s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 698s # */ 698s # void 698s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 698s # { 698s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesProxy: 698s # * 698s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesProxyClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesProxy. 698s # */ 698s # 698s # struct _GoodTypesProxyPrivate 698s # { 698s # GData *qdata; 698s # }; 698s # 698s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_ADD_PRIVATE (GoodTypesProxy) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_proxy_finalize (GObject *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # g_datalist_clear (&proxy->priv->qdata); 698s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_proxy_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 698s # if (info->use_gvariant) 698s # { 698s # g_value_set_variant (value, variant); 698s # } 698s # else 698s # { 698s # if (variant != NULL) 698s # g_dbus_gvariant_to_gvalue (variant, value); 698s # } 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 698s # GAsyncResult *res, 698s # gpointer user_data) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info = user_data; 698s # GError *error; 698s # GVariant *_ret; 698s # error = NULL; 698s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 698s # if (!_ret) 698s # { 698s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 698s # info->parent_struct.name, 698s # error->message, g_quark_to_string (error->domain), error->code); 698s # g_error_free (error); 698s # } 698s # else 698s # { 698s # g_variant_unref (_ret); 698s # } 698s # } 698s # 698s # static void 698s # good_types_proxy_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GVariant *variant; 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_dbus_proxy_call (G_DBUS_PROXY (object), 698s # "org.freedesktop.DBus.Properties.Set", 698s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 698s # g_variant_unref (variant); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_signal (GDBusProxy *proxy, 698s # const gchar *sender_name G_GNUC_UNUSED, 698s # const gchar *signal_name, 698s # GVariant *parameters) 698s # { 698s # _ExtendedGDBusSignalInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # gsize n; 698s # guint signal_id; 698s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 698s # if (info == NULL) 698s # return; 698s # num_params = g_variant_n_children (parameters); 698s # paramv = g_new0 (GValue, num_params + 1); 698s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[0], proxy); 698s # g_variant_iter_init (&iter, parameters); 698s # n = 1; 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_signal_emitv (paramv, signal_id, 0, NULL); 698s # for (n = 0; n < num_params + 1; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static void 698s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 698s # GVariant *changed_properties, 698s # const gchar *const *invalidated_properties) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 698s # guint n; 698s # const gchar *key; 698s # GVariantIter *iter; 698s # _ExtendedGDBusPropertyInfo *info; 698s # g_variant_get (changed_properties, "a{sv}", &iter); 698s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 698s # g_datalist_remove_data (&proxy->priv->qdata, key); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # g_variant_iter_free (iter); 698s # for (n = 0; invalidated_properties[n] != NULL; n++) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 698s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # } 698s # 698s # static GVariant * 698s # good_types_proxy_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 698s # GVariant *variant; 698s # GVariant *value = NULL; 698s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 698s # value = variant; 698s # if (variant != NULL) 698s # g_variant_unref (variant); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_proxy_init (GoodTypesProxy *proxy) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # proxy->priv = good_types_proxy_get_instance_private (proxy); 698s # #else 698s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 698s # #endif 698s # 698s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 698s # } 698s # 698s # static void 698s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusProxyClass *proxy_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_proxy_finalize; 698s # gobject_class->get_property = good_types_proxy_get_property; 698s # gobject_class->set_property = good_types_proxy_set_property; 698s # 698s # proxy_class = G_DBUS_PROXY_CLASS (klass); 698s # proxy_class->g_signal = good_types_proxy_g_signal; 698s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_proxy_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_sync: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_sync ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /** 698s # * good_types_proxy_new_for_bus: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 698s # * 698s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # good_types_proxy_new_for_bus ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with good_types_proxy_new_for_bus(). 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * good_types_proxy_new_for_bus_sync: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # GoodTypes * 698s # good_types_proxy_new_for_bus_sync ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return GOOD_TYPES (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * GoodTypesSkeleton: 698s # * 698s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * GoodTypesSkeletonClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for GoodTypesSkeleton. 698s # */ 698s # 698s # struct _GoodTypesSkeletonPrivate 698s # { 698s # GValue *properties; 698s # GList *changed_properties; 698s # GSource *changed_properties_idle_source; 698s # GMainContext *context; 698s # GMutex lock; 698s # }; 698s # 698s # static void 698s # _good_types_skeleton_handle_method_call ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name, 698s # const gchar *method_name, 698s # GVariant *parameters, 698s # GDBusMethodInvocation *invocation, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # _ExtendedGDBusMethodInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # guint num_extra; 698s # gsize n; 698s # guint signal_id; 698s # GValue return_value = G_VALUE_INIT; 698s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 698s # g_assert (info != NULL); 698s # num_params = g_variant_n_children (parameters); 698s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 698s # n = 0; 698s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 698s # g_value_set_object (¶mv[n++], skeleton); 698s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 698s # g_value_set_object (¶mv[n++], invocation); 698s # if (info->pass_fdlist) 698s # { 698s # #ifdef G_OS_UNIX 698s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 698s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 698s # #else 698s # g_assert_not_reached (); 698s # #endif 698s # } 698s # g_variant_iter_init (&iter, parameters); 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 698s # g_value_init (&return_value, G_TYPE_BOOLEAN); 698s # g_signal_emitv (paramv, signal_id, 0, &return_value); 698s # if (!g_value_get_boolean (&return_value)) 698s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 698s # g_value_unset (&return_value); 698s # for (n = 0; n < num_params + num_extra; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static GVariant * 698s # _good_types_skeleton_handle_get_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # GVariant *ret; 698s # ret = NULL; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # g_value_init (&value, pspec->value_type); 698s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_value_unset (&value); 698s # } 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _good_types_skeleton_handle_set_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GVariant *variant, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # gboolean ret; 698s # ret = FALSE; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # if (info->use_gvariant) 698s # g_value_set_variant (&value, variant); 698s # else 698s # g_dbus_gvariant_to_gvalue (variant, &value); 698s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # g_value_unset (&value); 698s # ret = TRUE; 698s # } 698s # return ret; 698s # } 698s # 698s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 698s # { 698s # _good_types_skeleton_handle_method_call, 698s # _good_types_skeleton_handle_get_property, 698s # _good_types_skeleton_handle_set_property, 698s # {NULL} 698s # }; 698s # 698s # static GDBusInterfaceInfo * 698s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return good_types_interface_info (); 698s # } 698s # 698s # static GDBusInterfaceVTable * 698s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # 698s # GVariantBuilder builder; 698s # guint n; 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #else 698s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #endif 698s # if (_good_types_interface_info.parent_struct.properties == NULL) 698s # goto out; 698s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 698s # { 698s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 698s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 698s # { 698s # GVariant *value; 698s # 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); 698s # if (value != NULL) 698s # { 698s # g_variant_take_ref (value); 698s # g_variant_builder_add (&builder, "{sv}", info->name, value); 698s # g_variant_unref (value); 698s # } 698s # } 698s # } 698s # out: 698s # return g_variant_builder_end (&builder); 698s # } 698s # 698s # static gboolean _good_types_emit_changed (gpointer user_data); 698s # 698s # static void 698s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 698s # gboolean emit_changed = FALSE; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # { 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # emit_changed = TRUE; 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # 698s # if (emit_changed) 698s # _good_types_emit_changed (skeleton); 698s # } 698s # 698s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_ADD_PRIVATE (GoodTypesSkeleton) 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 698s # 698s # #endif 698s # static void 698s # good_types_skeleton_finalize (GObject *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # guint n; 698s # for (n = 0; n < 1; n++) 698s # g_value_unset (&skeleton->priv->properties[n]); 698s # g_free (skeleton->priv->properties); 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # g_main_context_unref (skeleton->priv->context); 698s # g_mutex_clear (&skeleton->priv->lock); 698s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_get_property (GObject *object, 698s # guint prop_id, 698s # GValue *value, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static gboolean 698s # _good_types_emit_changed (gpointer user_data) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 698s # GList *l; 698s # GVariantBuilder builder; 698s # GVariantBuilder invalidated_builder; 698s # guint num_changes; 698s # 698s # g_mutex_lock (&skeleton->priv->lock); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #else 698s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 698s # #endif 698s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *cp = l->data; 698s # GVariant *variant; 698s # const GValue *cur_value; 698s # 698s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 698s # if (!_g_value_equal (cur_value, &cp->orig_value)) 698s # { 698s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 698s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 698s # g_variant_unref (variant); 698s # num_changes++; 698s # } 698s # } 698s # if (num_changes > 0) 698s # { 698s # GList *connections, *ll; 698s # GVariant *signal_variant; 698s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 698s # &builder, &invalidated_builder)); 698s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 698s # for (ll = connections; ll != NULL; ll = ll->next) 698s # { 698s # GDBusConnection *connection = ll->data; 698s # 698s # g_dbus_connection_emit_signal (connection, 698s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 698s # "org.freedesktop.DBus.Properties", 698s # "PropertiesChanged", 698s # signal_variant, 698s # NULL); 698s # } 698s # g_variant_unref (signal_variant); 698s # g_list_free_full (connections, g_object_unref); 698s # } 698s # else 698s # { 698s # g_variant_builder_clear (&builder); 698s # g_variant_builder_clear (&invalidated_builder); 698s # } 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # skeleton->priv->changed_properties = NULL; 698s # skeleton->priv->changed_properties_idle_source = NULL; 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return FALSE; 698s # } 698s # 698s # static void 698s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 698s # { 698s # ChangedProperty *cp; 698s # GList *l; 698s # cp = NULL; 698s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 698s # { 698s # ChangedProperty *i_cp = l->data; 698s # if (i_cp->info == info) 698s # { 698s # cp = i_cp; 698s # break; 698s # } 698s # } 698s # if (cp == NULL) 698s # { 698s # cp = g_new0 (ChangedProperty, 1); 698s # cp->prop_id = prop_id; 698s # cp->info = info; 698s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 698s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 698s # g_value_copy (orig_value, &cp->orig_value); 698s # } 698s # } 698s # 698s # static void 698s # good_types_skeleton_notify (GObject *object, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_mutex_lock (&skeleton->priv->lock); 698s # if (skeleton->priv->changed_properties != NULL && 698s # skeleton->priv->changed_properties_idle_source == NULL) 698s # { 698s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 698s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 698s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 698s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 698s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 698s # g_source_unref (skeleton->priv->changed_properties_idle_source); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # } 698s # 698s # static void 698s # good_types_skeleton_set_property (GObject *object, 698s # guint prop_id, 698s # const GValue *value, 698s # GParamSpec *pspec) 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # g_assert (prop_id != 0 && prop_id - 1 < 1); 698s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # g_object_freeze_notify (object); 698s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 698s # { 698s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 698s # info->emits_changed_signal) 698s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 698s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 698s # g_object_notify_by_pspec (object, pspec); 698s # } 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # g_object_thaw_notify (object); 698s # } 698s # 698s # static void 698s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 698s # #else 698s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 698s # #endif 698s # 698s # g_mutex_init (&skeleton->priv->lock); 698s # skeleton->priv->context = g_main_context_ref_thread_default (); 698s # skeleton->priv->properties = g_new0 (GValue, 1); 698s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 698s # } 698s # 698s # static GVariant * 698s # good_types_skeleton_get_good_property_type (GoodTypes *object) 698s # { 698s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 698s # GVariant *value; 698s # g_mutex_lock (&skeleton->priv->lock); 698s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 698s # g_mutex_unlock (&skeleton->priv->lock); 698s # return value; 698s # } 698s # 698s # static void 698s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusInterfaceSkeletonClass *skeleton_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = good_types_skeleton_finalize; 698s # gobject_class->get_property = good_types_skeleton_get_property; 698s # gobject_class->set_property = good_types_skeleton_set_property; 698s # gobject_class->notify = good_types_skeleton_notify; 698s # 698s # 698s # good_types_override_properties (gobject_class, 1); 698s # 698s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 698s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 698s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 698s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 698s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # good_types_skeleton_iface_init (GoodTypesIface *iface) 698s # { 698s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 698s # } 698s # 698s # /** 698s # * good_types_skeleton_new: 698s # * 698s # * Creates a skeleton object for the D-Bus interface GoodTypes. 698s # * 698s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 698s # */ 698s # GoodTypes * 698s # good_types_skeleton_new (void) 698s # { 698s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 698s # } 698s # Error: 698s ok 3 __main__.TestCodegen.test_empty_interface_body 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmptj9tg_4k 698s # /tmp/tmptj9tg_4k/tmphv5f24bf.xml: 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptj9tg_4k/tmphv5f24bf.xml', '--output', '-', '--body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # #ifdef G_OS_UNIX 698s # # include 698s # #endif 698s # 698s # #ifdef G_ENABLE_DEBUG 698s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 698s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 698s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 698s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 698s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 698s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 698s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 698s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 698s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 698s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 698s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 698s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 698s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 698s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 698s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 698s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 698s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 698s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 698s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 698s # #else /* !G_ENABLE_DEBUG */ 698s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 698s # * Do not access GValues directly in your code. Instead, use the 698s # * g_value_get_*() functions 698s # */ 698s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 698s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 698s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 698s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 698s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 698s # #endif /* !G_ENABLE_DEBUG */ 698s # 698s # typedef struct 698s # { 698s # GDBusArgInfo parent_struct; 698s # gboolean use_gvariant; 698s # } _ExtendedGDBusArgInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusMethodInfo parent_struct; 698s # const gchar *signal_name; 698s # gboolean pass_fdlist; 698s # } _ExtendedGDBusMethodInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusSignalInfo parent_struct; 698s # const gchar *signal_name; 698s # } _ExtendedGDBusSignalInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusPropertyInfo parent_struct; 698s # const gchar *hyphen_name; 698s # guint use_gvariant : 1; 698s # guint emits_changed_signal : 1; 698s # } _ExtendedGDBusPropertyInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusInterfaceInfo parent_struct; 698s # const gchar *hyphen_name; 698s # } _ExtendedGDBusInterfaceInfo; 698s # 698s # typedef struct 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # guint prop_id; 698s # GValue orig_value; /* the value before the change */ 698s # } ChangedProperty; 698s # 698s # static void 698s # _changed_property_free (ChangedProperty *data) 698s # { 698s # g_value_unset (&data->orig_value); 698s # g_free (data); 698s # } 698s # 698s # static gboolean 698s # _g_strv_equal0 (gchar **a, gchar **b) 698s # { 698s # gboolean ret = FALSE; 698s # guint n; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # if (g_strv_length (a) != g_strv_length (b)) 698s # goto out; 698s # for (n = 0; a[n] != NULL; n++) 698s # if (g_strcmp0 (a[n], b[n]) != 0) 698s # goto out; 698s # ret = TRUE; 698s # out: 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _g_variant_equal0 (GVariant *a, GVariant *b) 698s # { 698s # gboolean ret = FALSE; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # ret = g_variant_equal (a, b); 698s # out: 698s # return ret; 698s # } 698s # 698s # G_GNUC_UNUSED static gboolean 698s # _g_value_equal (const GValue *a, const GValue *b) 698s # { 698s # gboolean ret = FALSE; 698s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 698s # switch (G_VALUE_TYPE (a)) 698s # { 698s # case G_TYPE_BOOLEAN: 698s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 698s # break; 698s # case G_TYPE_UCHAR: 698s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 698s # break; 698s # case G_TYPE_INT: 698s # ret = (g_value_get_int (a) == g_value_get_int (b)); 698s # break; 698s # case G_TYPE_UINT: 698s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 698s # break; 698s # case G_TYPE_INT64: 698s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 698s # break; 698s # case G_TYPE_UINT64: 698s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 698s # break; 698s # case G_TYPE_DOUBLE: 698s # { 698s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 698s # gdouble da = g_value_get_double (a); 698s # gdouble db = g_value_get_double (b); 698s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 698s # } 698s # break; 698s # case G_TYPE_STRING: 698s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 698s # break; 698s # case G_TYPE_VARIANT: 698s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 698s # break; 698s # default: 698s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 698s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 698s # else 698s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 698s # break; 698s # } 698s # return ret; 698s # } 698s # Error: 698s ok 4 __main__.TestCodegen.test_empty_interface_header 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmpzfv28ess 698s # /tmp/tmpzfv28ess/tmps92phy6l.xml: 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzfv28ess/tmps92phy6l.xml', '--output', '-', '--header'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifndef __STDOUT__ 698s # #define __STDOUT__ 698s # 698s # #include 698s # 698s # G_BEGIN_DECLS 698s # 698s # 698s # G_END_DECLS 698s # 698s # #endif /* __STDOUT__ */ 698s # Error: 698s ok 5 __main__.TestCodegen.test_empty_interface_info_body 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmpmk0a3zqh 698s # /tmp/tmpmk0a3zqh/tmp3m0v35bf.xml: 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmk0a3zqh/tmp3m0v35bf.xml', '--output', '-', '--interface-info-body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # Error: 698s ok 6 __main__.TestCodegen.test_empty_interface_info_header 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmphm8nrqzp 698s # /tmp/tmphm8nrqzp/tmpj_zgj4w_.xml: 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphm8nrqzp/tmpj_zgj4w_.xml', '--output', '-', '--interface-info-header'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifndef __STDOUT__ 698s # #define __STDOUT__ 698s # 698s # #include 698s # 698s # G_BEGIN_DECLS 698s # 698s # 698s # G_END_DECLS 698s # 698s # #endif /* __STDOUT__ */ 698s # Error: 698s ok 7 __main__.TestCodegen.test_generate_docbook 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmpvv57eguq 698s # /tmp/tmpvv57eguq/tmphh8_yex7.xml: 698s # 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvv57eguq/tmphh8_yex7.xml', '--generate-docbook', 'test'] 698s # Return code: 0 698s # Output: 698s # 698s # Error: 698s ok 8 __main__.TestCodegen.test_generate_md 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmp0dlxyqrn 698s # /tmp/tmp0dlxyqrn/tmpd75oj66e.xml: 698s # 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0dlxyqrn/tmpd75oj66e.xml', '--generate-md', 'test'] 698s # Return code: 0 698s # Output: 698s # 698s # Error: 698s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 698s # gdbus-codegen: /usr/bin/gdbus-codegen 698s # tmpdir: /tmp/tmpqot96opl 698s # /tmp/tmpqot96opl/tmpkn880mbb.xml: 698s # 698s # 698s # 698s # 698s # 698s # 698s # 698s # 698s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqot96opl/tmpkn880mbb.xml', '--output', '-', '--body'] 698s # Return code: 0 698s # Output: 698s # /* 698s # * This file is generated by gdbus-codegen, do not modify it. 698s # * 698s # * The license of this code is the same as for the D-Bus interface description 698s # * it was derived from. Note that it links to GLib, so must comply with the 698s # * LGPL linking clauses. 698s # */ 698s # 698s # #ifdef HAVE_CONFIG_H 698s # # include "config.h" 698s # #endif 698s # 698s # #include 698s # #ifdef G_OS_UNIX 698s # # include 698s # #endif 698s # 698s # #ifdef G_ENABLE_DEBUG 698s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 698s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 698s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 698s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 698s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 698s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 698s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 698s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 698s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 698s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 698s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 698s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 698s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 698s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 698s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 698s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 698s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 698s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 698s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 698s # #else /* !G_ENABLE_DEBUG */ 698s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 698s # * Do not access GValues directly in your code. Instead, use the 698s # * g_value_get_*() functions 698s # */ 698s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 698s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 698s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 698s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 698s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 698s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 698s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 698s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 698s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 698s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 698s # #endif /* !G_ENABLE_DEBUG */ 698s # 698s # typedef struct 698s # { 698s # GDBusArgInfo parent_struct; 698s # gboolean use_gvariant; 698s # } _ExtendedGDBusArgInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusMethodInfo parent_struct; 698s # const gchar *signal_name; 698s # gboolean pass_fdlist; 698s # } _ExtendedGDBusMethodInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusSignalInfo parent_struct; 698s # const gchar *signal_name; 698s # } _ExtendedGDBusSignalInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusPropertyInfo parent_struct; 698s # const gchar *hyphen_name; 698s # guint use_gvariant : 1; 698s # guint emits_changed_signal : 1; 698s # } _ExtendedGDBusPropertyInfo; 698s # 698s # typedef struct 698s # { 698s # GDBusInterfaceInfo parent_struct; 698s # const gchar *hyphen_name; 698s # } _ExtendedGDBusInterfaceInfo; 698s # 698s # typedef struct 698s # { 698s # const _ExtendedGDBusPropertyInfo *info; 698s # guint prop_id; 698s # GValue orig_value; /* the value before the change */ 698s # } ChangedProperty; 698s # 698s # static void 698s # _changed_property_free (ChangedProperty *data) 698s # { 698s # g_value_unset (&data->orig_value); 698s # g_free (data); 698s # } 698s # 698s # static gboolean 698s # _g_strv_equal0 (gchar **a, gchar **b) 698s # { 698s # gboolean ret = FALSE; 698s # guint n; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # if (g_strv_length (a) != g_strv_length (b)) 698s # goto out; 698s # for (n = 0; a[n] != NULL; n++) 698s # if (g_strcmp0 (a[n], b[n]) != 0) 698s # goto out; 698s # ret = TRUE; 698s # out: 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _g_variant_equal0 (GVariant *a, GVariant *b) 698s # { 698s # gboolean ret = FALSE; 698s # if (a == NULL && b == NULL) 698s # { 698s # ret = TRUE; 698s # goto out; 698s # } 698s # if (a == NULL || b == NULL) 698s # goto out; 698s # ret = g_variant_equal (a, b); 698s # out: 698s # return ret; 698s # } 698s # 698s # G_GNUC_UNUSED static gboolean 698s # _g_value_equal (const GValue *a, const GValue *b) 698s # { 698s # gboolean ret = FALSE; 698s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 698s # switch (G_VALUE_TYPE (a)) 698s # { 698s # case G_TYPE_BOOLEAN: 698s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 698s # break; 698s # case G_TYPE_UCHAR: 698s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 698s # break; 698s # case G_TYPE_INT: 698s # ret = (g_value_get_int (a) == g_value_get_int (b)); 698s # break; 698s # case G_TYPE_UINT: 698s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 698s # break; 698s # case G_TYPE_INT64: 698s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 698s # break; 698s # case G_TYPE_UINT64: 698s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 698s # break; 698s # case G_TYPE_DOUBLE: 698s # { 698s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 698s # gdouble da = g_value_get_double (a); 698s # gdouble db = g_value_get_double (b); 698s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 698s # } 698s # break; 698s # case G_TYPE_STRING: 698s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 698s # break; 698s # case G_TYPE_VARIANT: 698s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 698s # break; 698s # default: 698s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 698s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 698s # else 698s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 698s # break; 698s # } 698s # return ret; 698s # } 698s # 698s # static void 698s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 698s # GClosure *closure, 698s # GValue *return_value, 698s # unsigned int n_param_values, 698s # const GValue *param_values, 698s # void *invocation_hint G_GNUC_UNUSED, 698s # void *marshal_data) 698s # { 698s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 698s # (void *data1, 698s # GDBusMethodInvocation *arg_method_invocation, 698s # void *data2); 698s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 698s # GCClosure *cc = (GCClosure*) closure; 698s # void *data1, *data2; 698s # gboolean v_return; 698s # 698s # g_return_if_fail (return_value != NULL); 698s # g_return_if_fail (n_param_values == 2); 698s # 698s # if (G_CCLOSURE_SWAP_DATA (closure)) 698s # { 698s # data1 = closure->data; 698s # data2 = g_value_peek_pointer (param_values + 0); 698s # } 698s # else 698s # { 698s # data1 = g_value_peek_pointer (param_values + 0); 698s # data2 = closure->data; 698s # } 698s # 698s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 698s # (marshal_data ? marshal_data : cc->callback); 698s # 698s # v_return = 698s # callback (data1, 698s # g_marshal_value_peek_object (param_values + 1), 698s # data2); 698s # 698s # g_value_set_boolean (return_value, v_return); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ 698s # * Code for interface org.project.CallableIface 698s # * ------------------------------------------------------------------------ 698s # */ 698s # 698s # /** 698s # * SECTION:OrgProjectCallableIface 698s # * @title: OrgProjectCallableIface 698s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 698s # * 698s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 698s # */ 698s # 698s # /* ---- Introspection data for org.project.CallableIface ---- */ 698s # 698s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 698s # { 698s # { 698s # -1, 698s # (gchar *) "SimpleMethod", 698s # NULL, 698s # NULL, 698s # NULL 698s # }, 698s # "handle-simple-method", 698s # FALSE 698s # }; 698s # 698s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 698s # { 698s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 698s # NULL 698s # }; 698s # 698s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 698s # { 698s # { 698s # -1, 698s # (gchar *) "org.project.CallableIface", 698s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 698s # NULL, 698s # NULL, 698s # NULL 698s # }, 698s # "org-project-callable-iface", 698s # }; 698s # 698s # 698s # /** 698s # * org_project_callable_iface_interface_info: 698s # * 698s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 698s # * 698s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 698s # */ 698s # GDBusInterfaceInfo * 698s # org_project_callable_iface_interface_info (void) 698s # { 698s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_override_properties: 698s # * @klass: The class structure for a #GObject derived class. 698s # * @property_id_begin: The property id to assign to the first overridden property. 698s # * 698s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 698s # * The properties are overridden in the order they are defined. 698s # * 698s # * Returns: The last property id. 698s # */ 698s # guint 698s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 698s # { 698s # return property_id_begin - 1; 698s # } 698s # 698s # 698s # inline static void 698s # org_project_callable_iface_method_marshal_simple_method ( 698s # GClosure *closure, 698s # GValue *return_value, 698s # unsigned int n_param_values, 698s # const GValue *param_values, 698s # void *invocation_hint, 698s # void *marshal_data) 698s # { 698s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 698s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 698s # } 698s # 698s # 698s # /** 698s # * OrgProjectCallableIface: 698s # * 698s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 698s # */ 698s # 698s # /** 698s # * OrgProjectCallableIfaceIface: 698s # * @parent_iface: The parent interface. 698s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 698s # * 698s # * Virtual table for the D-Bus interface org.project.CallableIface. 698s # */ 698s # 698s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 698s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 698s # 698s # static void 698s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 698s # { 698s # /* GObject signals for incoming D-Bus method calls: */ 698s # /** 698s # * OrgProjectCallableIface::handle-simple-method: 698s # * @object: A #OrgProjectCallableIface. 698s # * @invocation: A #GDBusMethodInvocation. 698s # * 698s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 698s # * 698s # * 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. 698s # * 698s # * 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. 698s # */ 698s # g_signal_new ("handle-simple-method", 698s # G_TYPE_FROM_INTERFACE (iface), 698s # G_SIGNAL_RUN_LAST, 698s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 698s # g_signal_accumulator_true_handled, 698s # NULL, 698s # org_project_callable_iface_method_marshal_simple_method, 698s # G_TYPE_BOOLEAN, 698s # 1, 698s # G_TYPE_DBUS_METHOD_INVOCATION); 698s # 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_call_simple_method: 698s # * @proxy: A #OrgProjectCallableIfaceProxy. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 698s # * 698s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 698s # */ 698s # void 698s # org_project_callable_iface_call_simple_method ( 698s # OrgProjectCallableIface *proxy, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 698s # "SimpleMethod", 698s # g_variant_new ("()"), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # cancellable, 698s # callback, 698s # user_data); 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_call_simple_method_finish: 698s # * @proxy: A #OrgProjectCallableIfaceProxy. 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 698s # * @error: Return location for error or %NULL. 698s # * 698s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 698s # * 698s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 698s # */ 698s # gboolean 698s # org_project_callable_iface_call_simple_method_finish ( 698s # OrgProjectCallableIface *proxy, 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GVariant *_ret; 698s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 698s # if (_ret == NULL) 698s # goto _out; 698s # g_variant_get (_ret, 698s # "()"); 698s # g_variant_unref (_ret); 698s # _out: 698s # return _ret != NULL; 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_call_simple_method_sync: 698s # * @proxy: A #OrgProjectCallableIfaceProxy. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL. 698s # * 698s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 698s # * 698s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 698s # */ 698s # gboolean 698s # org_project_callable_iface_call_simple_method_sync ( 698s # OrgProjectCallableIface *proxy, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GVariant *_ret; 698s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 698s # "SimpleMethod", 698s # g_variant_new ("()"), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # cancellable, 698s # error); 698s # if (_ret == NULL) 698s # goto _out; 698s # g_variant_get (_ret, 698s # "()"); 698s # g_variant_unref (_ret); 698s # _out: 698s # return _ret != NULL; 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_complete_simple_method: 698s # * @object: A #OrgProjectCallableIface. 698s # * @invocation: (transfer full): A #GDBusMethodInvocation. 698s # * 698s # * 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. 698s # * 698s # * This method will free @invocation, you cannot use it afterwards. 698s # */ 698s # void 698s # org_project_callable_iface_complete_simple_method ( 698s # OrgProjectCallableIface *object G_GNUC_UNUSED, 698s # GDBusMethodInvocation *invocation) 698s # { 698s # g_dbus_method_invocation_return_value (invocation, 698s # g_variant_new ("()")); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * OrgProjectCallableIfaceProxy: 698s # * 698s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * OrgProjectCallableIfaceProxyClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for #OrgProjectCallableIfaceProxy. 698s # */ 698s # 698s # struct _OrgProjectCallableIfaceProxyPrivate 698s # { 698s # GData *qdata; 698s # }; 698s # 698s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 698s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 698s # 698s # #endif 698s # static void 698s # org_project_callable_iface_proxy_finalize (GObject *object) 698s # { 698s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 698s # g_datalist_clear (&proxy->priv->qdata); 698s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 698s # guint prop_id G_GNUC_UNUSED, 698s # GValue *value G_GNUC_UNUSED, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 698s # guint prop_id G_GNUC_UNUSED, 698s # const GValue *value G_GNUC_UNUSED, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 698s # const gchar *sender_name G_GNUC_UNUSED, 698s # const gchar *signal_name, 698s # GVariant *parameters) 698s # { 698s # _ExtendedGDBusSignalInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # gsize n; 698s # guint signal_id; 698s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 698s # if (info == NULL) 698s # return; 698s # num_params = g_variant_n_children (parameters); 698s # paramv = g_new0 (GValue, num_params + 1); 698s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 698s # g_value_set_object (¶mv[0], proxy); 698s # g_variant_iter_init (&iter, parameters); 698s # n = 1; 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 698s # g_signal_emitv (paramv, signal_id, 0, NULL); 698s # for (n = 0; n < num_params + 1; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 698s # GVariant *changed_properties, 698s # const gchar *const *invalidated_properties) 698s # { 698s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 698s # guint n; 698s # const gchar *key; 698s # GVariantIter *iter; 698s # _ExtendedGDBusPropertyInfo *info; 698s # g_variant_get (changed_properties, "a{sv}", &iter); 698s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 698s # g_datalist_remove_data (&proxy->priv->qdata, key); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # g_variant_iter_free (iter); 698s # for (n = 0; invalidated_properties[n] != NULL; n++) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 698s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 698s # #else 698s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 698s # #endif 698s # 698s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusProxyClass *proxy_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 698s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 698s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 698s # 698s # proxy_class = G_DBUS_PROXY_CLASS (klass); 698s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 698s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 698s # * 698s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # org_project_callable_iface_proxy_new ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 698s # * 698s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectCallableIface * 698s # org_project_callable_iface_proxy_new_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return ORG_PROJECT_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new_sync: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectCallableIface * 698s # org_project_callable_iface_proxy_new_sync ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return ORG_PROJECT_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new_for_bus: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 698s # * 698s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # org_project_callable_iface_proxy_new_for_bus ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new_for_bus_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 698s # * 698s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectCallableIface * 698s # org_project_callable_iface_proxy_new_for_bus_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return ORG_PROJECT_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_proxy_new_for_bus_sync: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectCallableIface * 698s # org_project_callable_iface_proxy_new_for_bus_sync ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return ORG_PROJECT_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * OrgProjectCallableIfaceSkeleton: 698s # * 698s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * OrgProjectCallableIfaceSkeletonClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for #OrgProjectCallableIfaceSkeleton. 698s # */ 698s # 698s # struct _OrgProjectCallableIfaceSkeletonPrivate 698s # { 698s # GValue *properties; 698s # GList *changed_properties; 698s # GSource *changed_properties_idle_source; 698s # GMainContext *context; 698s # GMutex lock; 698s # }; 698s # 698s # static void 698s # _org_project_callable_iface_skeleton_handle_method_call ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name, 698s # const gchar *method_name, 698s # GVariant *parameters, 698s # GDBusMethodInvocation *invocation, 698s # gpointer user_data) 698s # { 698s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 698s # _ExtendedGDBusMethodInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # guint num_extra; 698s # gsize n; 698s # guint signal_id; 698s # GValue return_value = G_VALUE_INIT; 698s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 698s # g_assert (info != NULL); 698s # num_params = g_variant_n_children (parameters); 698s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 698s # n = 0; 698s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 698s # g_value_set_object (¶mv[n++], skeleton); 698s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 698s # g_value_set_object (¶mv[n++], invocation); 698s # if (info->pass_fdlist) 698s # { 698s # #ifdef G_OS_UNIX 698s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 698s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 698s # #else 698s # g_assert_not_reached (); 698s # #endif 698s # } 698s # g_variant_iter_init (&iter, parameters); 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 698s # g_value_init (&return_value, G_TYPE_BOOLEAN); 698s # g_signal_emitv (paramv, signal_id, 0, &return_value); 698s # if (!g_value_get_boolean (&return_value)) 698s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 698s # g_value_unset (&return_value); 698s # for (n = 0; n < num_params + num_extra; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static GVariant * 698s # _org_project_callable_iface_skeleton_handle_get_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # GVariant *ret; 698s # ret = NULL; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # g_value_init (&value, pspec->value_type); 698s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_value_unset (&value); 698s # } 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _org_project_callable_iface_skeleton_handle_set_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GVariant *variant, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # gboolean ret; 698s # ret = FALSE; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # if (info->use_gvariant) 698s # g_value_set_variant (&value, variant); 698s # else 698s # g_dbus_gvariant_to_gvalue (variant, &value); 698s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # g_value_unset (&value); 698s # ret = TRUE; 698s # } 698s # return ret; 698s # } 698s # 698s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 698s # { 698s # _org_project_callable_iface_skeleton_handle_method_call, 698s # _org_project_callable_iface_skeleton_handle_get_property, 698s # _org_project_callable_iface_skeleton_handle_set_property, 698s # {NULL} 698s # }; 698s # 698s # static GDBusInterfaceInfo * 698s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return org_project_callable_iface_interface_info (); 698s # } 698s # 698s # static GDBusInterfaceVTable * 698s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 698s # } 698s # 698s # static GVariant * 698s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 698s # 698s # GVariantBuilder builder; 698s # guint n; 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #else 698s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #endif 698s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 698s # goto out; 698s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 698s # { 698s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 698s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 698s # { 698s # GVariant *value; 698s # 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); 698s # if (value != NULL) 698s # { 698s # g_variant_take_ref (value); 698s # g_variant_builder_add (&builder, "{sv}", info->name, value); 698s # g_variant_unref (value); 698s # } 698s # } 698s # } 698s # out: 698s # return g_variant_builder_end (&builder); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 698s # 698s # #endif 698s # static void 698s # org_project_callable_iface_skeleton_finalize (GObject *object) 698s # { 698s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # g_main_context_unref (skeleton->priv->context); 698s # g_mutex_clear (&skeleton->priv->lock); 698s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 698s # #else 698s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 698s # #endif 698s # 698s # g_mutex_init (&skeleton->priv->lock); 698s # skeleton->priv->context = g_main_context_ref_thread_default (); 698s # } 698s # 698s # static void 698s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusInterfaceSkeletonClass *skeleton_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 698s # 698s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 698s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 698s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 698s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 698s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # /** 698s # * org_project_callable_iface_skeleton_new: 698s # * 698s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 698s # * 698s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 698s # */ 698s # OrgProjectCallableIface * 698s # org_project_callable_iface_skeleton_new (void) 698s # { 698s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ 698s # * Code for interface org.project.OtherCallableIface 698s # * ------------------------------------------------------------------------ 698s # */ 698s # 698s # /** 698s # * SECTION:OrgProjectOtherCallableIface 698s # * @title: OrgProjectOtherCallableIface 698s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 698s # * 698s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 698s # */ 698s # 698s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 698s # 698s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 698s # { 698s # { 698s # -1, 698s # (gchar *) "SimpleMethod", 698s # NULL, 698s # NULL, 698s # NULL 698s # }, 698s # "handle-simple-method", 698s # FALSE 698s # }; 698s # 698s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 698s # { 698s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 698s # NULL 698s # }; 698s # 698s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 698s # { 698s # { 698s # -1, 698s # (gchar *) "org.project.OtherCallableIface", 698s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 698s # NULL, 698s # NULL, 698s # NULL 698s # }, 698s # "org-project-other-callable-iface", 698s # }; 698s # 698s # 698s # /** 698s # * org_project_other_callable_iface_interface_info: 698s # * 698s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 698s # * 698s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 698s # */ 698s # GDBusInterfaceInfo * 698s # org_project_other_callable_iface_interface_info (void) 698s # { 698s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_override_properties: 698s # * @klass: The class structure for a #GObject derived class. 698s # * @property_id_begin: The property id to assign to the first overridden property. 698s # * 698s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 698s # * The properties are overridden in the order they are defined. 698s # * 698s # * Returns: The last property id. 698s # */ 698s # guint 698s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 698s # { 698s # return property_id_begin - 1; 698s # } 698s # 698s # 698s # inline static void 698s # org_project_other_callable_iface_method_marshal_simple_method ( 698s # GClosure *closure, 698s # GValue *return_value, 698s # unsigned int n_param_values, 698s # const GValue *param_values, 698s # void *invocation_hint, 698s # void *marshal_data) 698s # { 698s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 698s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 698s # } 698s # 698s # 698s # /** 698s # * OrgProjectOtherCallableIface: 698s # * 698s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 698s # */ 698s # 698s # /** 698s # * OrgProjectOtherCallableIfaceIface: 698s # * @parent_iface: The parent interface. 698s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 698s # * 698s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 698s # */ 698s # 698s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 698s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 698s # 698s # static void 698s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 698s # { 698s # /* GObject signals for incoming D-Bus method calls: */ 698s # /** 698s # * OrgProjectOtherCallableIface::handle-simple-method: 698s # * @object: A #OrgProjectOtherCallableIface. 698s # * @invocation: A #GDBusMethodInvocation. 698s # * 698s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 698s # * 698s # * 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. 698s # * 698s # * 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. 698s # */ 698s # g_signal_new ("handle-simple-method", 698s # G_TYPE_FROM_INTERFACE (iface), 698s # G_SIGNAL_RUN_LAST, 698s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 698s # g_signal_accumulator_true_handled, 698s # NULL, 698s # org_project_other_callable_iface_method_marshal_simple_method, 698s # G_TYPE_BOOLEAN, 698s # 1, 698s # G_TYPE_DBUS_METHOD_INVOCATION); 698s # 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_call_simple_method: 698s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 698s # * 698s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 698s # */ 698s # void 698s # org_project_other_callable_iface_call_simple_method ( 698s # OrgProjectOtherCallableIface *proxy, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 698s # "SimpleMethod", 698s # g_variant_new ("()"), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # cancellable, 698s # callback, 698s # user_data); 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_call_simple_method_finish: 698s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 698s # * @error: Return location for error or %NULL. 698s # * 698s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 698s # * 698s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 698s # */ 698s # gboolean 698s # org_project_other_callable_iface_call_simple_method_finish ( 698s # OrgProjectOtherCallableIface *proxy, 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GVariant *_ret; 698s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 698s # if (_ret == NULL) 698s # goto _out; 698s # g_variant_get (_ret, 698s # "()"); 698s # g_variant_unref (_ret); 698s # _out: 698s # return _ret != NULL; 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_call_simple_method_sync: 698s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL. 698s # * 698s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 698s # * 698s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 698s # */ 698s # gboolean 698s # org_project_other_callable_iface_call_simple_method_sync ( 698s # OrgProjectOtherCallableIface *proxy, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GVariant *_ret; 698s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 698s # "SimpleMethod", 698s # g_variant_new ("()"), 698s # G_DBUS_CALL_FLAGS_NONE, 698s # -1, 698s # cancellable, 698s # error); 698s # if (_ret == NULL) 698s # goto _out; 698s # g_variant_get (_ret, 698s # "()"); 698s # g_variant_unref (_ret); 698s # _out: 698s # return _ret != NULL; 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_complete_simple_method: 698s # * @object: A #OrgProjectOtherCallableIface. 698s # * @invocation: (transfer full): A #GDBusMethodInvocation. 698s # * 698s # * 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. 698s # * 698s # * This method will free @invocation, you cannot use it afterwards. 698s # */ 698s # void 698s # org_project_other_callable_iface_complete_simple_method ( 698s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 698s # GDBusMethodInvocation *invocation) 698s # { 698s # g_dbus_method_invocation_return_value (invocation, 698s # g_variant_new ("()")); 698s # } 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * OrgProjectOtherCallableIfaceProxy: 698s # * 698s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * OrgProjectOtherCallableIfaceProxyClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 698s # */ 698s # 698s # struct _OrgProjectOtherCallableIfaceProxyPrivate 698s # { 698s # GData *qdata; 698s # }; 698s # 698s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 698s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 698s # 698s # #endif 698s # static void 698s # org_project_other_callable_iface_proxy_finalize (GObject *object) 698s # { 698s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 698s # g_datalist_clear (&proxy->priv->qdata); 698s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 698s # guint prop_id G_GNUC_UNUSED, 698s # GValue *value G_GNUC_UNUSED, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 698s # guint prop_id G_GNUC_UNUSED, 698s # const GValue *value G_GNUC_UNUSED, 698s # GParamSpec *pspec G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 698s # const gchar *sender_name G_GNUC_UNUSED, 698s # const gchar *signal_name, 698s # GVariant *parameters) 698s # { 698s # _ExtendedGDBusSignalInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # gsize n; 698s # guint signal_id; 698s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 698s # if (info == NULL) 698s # return; 698s # num_params = g_variant_n_children (parameters); 698s # paramv = g_new0 (GValue, num_params + 1); 698s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 698s # g_value_set_object (¶mv[0], proxy); 698s # g_variant_iter_init (&iter, parameters); 698s # n = 1; 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 698s # g_signal_emitv (paramv, signal_id, 0, NULL); 698s # for (n = 0; n < num_params + 1; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 698s # GVariant *changed_properties, 698s # const gchar *const *invalidated_properties) 698s # { 698s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 698s # guint n; 698s # const gchar *key; 698s # GVariantIter *iter; 698s # _ExtendedGDBusPropertyInfo *info; 698s # g_variant_get (changed_properties, "a{sv}", &iter); 698s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 698s # g_datalist_remove_data (&proxy->priv->qdata, key); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # g_variant_iter_free (iter); 698s # for (n = 0; invalidated_properties[n] != NULL; n++) 698s # { 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 698s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 698s # if (info != NULL) 698s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 698s # } 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 698s # #else 698s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 698s # #endif 698s # 698s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusProxyClass *proxy_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 698s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 698s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 698s # 698s # proxy_class = G_DBUS_PROXY_CLASS (klass); 698s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 698s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 698s # * 698s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # org_project_other_callable_iface_proxy_new ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 698s # * 698s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectOtherCallableIface * 698s # org_project_other_callable_iface_proxy_new_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new_sync: 698s # * @connection: A #GDBusConnection. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectOtherCallableIface * 698s # org_project_other_callable_iface_proxy_new_sync ( 698s # GDBusConnection *connection, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new_for_bus: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 698s # * @user_data: User data to pass to @callback. 698s # * 698s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 698s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 698s # * 698s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 698s # */ 698s # void 698s # org_project_other_callable_iface_proxy_new_for_bus ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GAsyncReadyCallback callback, 698s # gpointer user_data) 698s # { 698s # 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); 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 698s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 698s # * @error: Return location for error or %NULL 698s # * 698s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 698s # * 698s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectOtherCallableIface * 698s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 698s # GAsyncResult *res, 698s # GError **error) 698s # { 698s # GObject *ret; 698s # GObject *source_object; 698s # source_object = g_async_result_get_source_object (res); 698s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 698s # g_object_unref (source_object); 698s # if (ret != NULL) 698s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 698s # * @bus_type: A #GBusType. 698s # * @flags: Flags from the #GDBusProxyFlags enumeration. 698s # * @name: A bus name (well-known or unique). 698s # * @object_path: An object path. 698s # * @cancellable: (nullable): A #GCancellable or %NULL. 698s # * @error: Return location for error or %NULL 698s # * 698s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 698s # * 698s # * The calling thread is blocked until a reply is received. 698s # * 698s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 698s # * 698s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 698s # */ 698s # OrgProjectOtherCallableIface * 698s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 698s # GBusType bus_type, 698s # GDBusProxyFlags flags, 698s # const gchar *name, 698s # const gchar *object_path, 698s # GCancellable *cancellable, 698s # GError **error) 698s # { 698s # GInitable *ret; 698s # 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); 698s # if (ret != NULL) 698s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 698s # else 698s # return NULL; 698s # } 698s # 698s # 698s # /* ------------------------------------------------------------------------ */ 698s # 698s # /** 698s # * OrgProjectOtherCallableIfaceSkeleton: 698s # * 698s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 698s # */ 698s # 698s # /** 698s # * OrgProjectOtherCallableIfaceSkeletonClass: 698s # * @parent_class: The parent class. 698s # * 698s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 698s # */ 698s # 698s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 698s # { 698s # GValue *properties; 698s # GList *changed_properties; 698s # GSource *changed_properties_idle_source; 698s # GMainContext *context; 698s # GMutex lock; 698s # }; 698s # 698s # static void 698s # _org_project_other_callable_iface_skeleton_handle_method_call ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name, 698s # const gchar *method_name, 698s # GVariant *parameters, 698s # GDBusMethodInvocation *invocation, 698s # gpointer user_data) 698s # { 698s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 698s # _ExtendedGDBusMethodInfo *info; 698s # GVariantIter iter; 698s # GVariant *child; 698s # GValue *paramv; 698s # gsize num_params; 698s # guint num_extra; 698s # gsize n; 698s # guint signal_id; 698s # GValue return_value = G_VALUE_INIT; 698s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 698s # g_assert (info != NULL); 698s # num_params = g_variant_n_children (parameters); 698s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 698s # n = 0; 698s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 698s # g_value_set_object (¶mv[n++], skeleton); 698s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 698s # g_value_set_object (¶mv[n++], invocation); 698s # if (info->pass_fdlist) 698s # { 698s # #ifdef G_OS_UNIX 698s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 698s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 698s # #else 698s # g_assert_not_reached (); 698s # #endif 698s # } 698s # g_variant_iter_init (&iter, parameters); 698s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 698s # { 698s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 698s # if (arg_info->use_gvariant) 698s # { 698s # g_value_init (¶mv[n], G_TYPE_VARIANT); 698s # g_value_set_variant (¶mv[n], child); 698s # n++; 698s # } 698s # else 698s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 698s # g_variant_unref (child); 698s # } 698s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 698s # g_value_init (&return_value, G_TYPE_BOOLEAN); 698s # g_signal_emitv (paramv, signal_id, 0, &return_value); 698s # if (!g_value_get_boolean (&return_value)) 698s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 698s # g_value_unset (&return_value); 698s # for (n = 0; n < num_params + num_extra; n++) 698s # g_value_unset (¶mv[n]); 698s # g_free (paramv); 698s # } 698s # 698s # static GVariant * 698s # _org_project_other_callable_iface_skeleton_handle_get_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # GVariant *ret; 698s # ret = NULL; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # g_value_init (&value, pspec->value_type); 698s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 698s # g_value_unset (&value); 698s # } 698s # return ret; 698s # } 698s # 698s # static gboolean 698s # _org_project_other_callable_iface_skeleton_handle_set_property ( 698s # GDBusConnection *connection G_GNUC_UNUSED, 698s # const gchar *sender G_GNUC_UNUSED, 698s # const gchar *object_path G_GNUC_UNUSED, 698s # const gchar *interface_name G_GNUC_UNUSED, 698s # const gchar *property_name, 698s # GVariant *variant, 698s # GError **error, 698s # gpointer user_data) 698s # { 698s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 698s # GValue value = G_VALUE_INIT; 698s # GParamSpec *pspec; 698s # _ExtendedGDBusPropertyInfo *info; 698s # gboolean ret; 698s # ret = FALSE; 698s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 698s # g_assert (info != NULL); 698s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 698s # if (pspec == NULL) 698s # { 698s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 698s # } 698s # else 698s # { 698s # if (info->use_gvariant) 698s # g_value_set_variant (&value, variant); 698s # else 698s # g_dbus_gvariant_to_gvalue (variant, &value); 698s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 698s # g_value_unset (&value); 698s # ret = TRUE; 698s # } 698s # return ret; 698s # } 698s # 698s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 698s # { 698s # _org_project_other_callable_iface_skeleton_handle_method_call, 698s # _org_project_other_callable_iface_skeleton_handle_get_property, 698s # _org_project_other_callable_iface_skeleton_handle_set_property, 698s # {NULL} 698s # }; 698s # 698s # static GDBusInterfaceInfo * 698s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return org_project_other_callable_iface_interface_info (); 698s # } 698s # 698s # static GDBusInterfaceVTable * 698s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 698s # { 698s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 698s # } 698s # 698s # static GVariant * 698s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 698s # { 698s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 698s # 698s # GVariantBuilder builder; 698s # guint n; 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 698s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #else 698s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 698s # #endif 698s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 698s # goto out; 698s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 698s # { 698s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 698s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 698s # { 698s # GVariant *value; 698s # 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); 698s # if (value != NULL) 698s # { 698s # g_variant_take_ref (value); 698s # g_variant_builder_add (&builder, "{sv}", info->name, value); 698s # g_variant_unref (value); 698s # } 698s # } 698s # } 698s # out: 698s # return g_variant_builder_end (&builder); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 698s # 698s # #else 698s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 698s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 698s # 698s # #endif 698s # static void 698s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 698s # { 698s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 698s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 698s # if (skeleton->priv->changed_properties_idle_source != NULL) 698s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 698s # g_main_context_unref (skeleton->priv->context); 698s # g_mutex_clear (&skeleton->priv->lock); 698s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 698s # { 698s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 698s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 698s # #else 698s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 698s # #endif 698s # 698s # g_mutex_init (&skeleton->priv->lock); 698s # skeleton->priv->context = g_main_context_ref_thread_default (); 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 698s # { 698s # GObjectClass *gobject_class; 698s # GDBusInterfaceSkeletonClass *skeleton_class; 698s # 698s # gobject_class = G_OBJECT_CLASS (klass); 698s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 698s # 698s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 698s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 698s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 698s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 698s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 698s # 698s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 698s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 698s # #endif 698s # } 698s # 698s # static void 698s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 698s # { 698s # } 698s # 698s # /** 698s # * org_project_other_callable_iface_skeleton_new: 698s # * 698s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 698s # * 698s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 698s # */ 698s # OrgProjectOtherCallableIface * 698s # org_project_other_callable_iface_skeleton_new (void) 698s # { 698s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 698s # } 698s # Error: 699s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 699s # gdbus-codegen: /usr/bin/gdbus-codegen 699s # tmpdir: /tmp/tmpnyy0bqkw 699s # /tmp/tmpnyy0bqkw/tmpok6s9tqy.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpok6s9tqy.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # gboolean arg_arg_b, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_boolean (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_b", 699s # (gchar *) "b", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodB", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-b", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_b ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_b: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-b", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_b, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_b: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_b: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_b ( 699s # OrgProjectUsefulInterface *proxy, 699s # gboolean arg_arg_b, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodB", 699s # g_variant_new ("(b)", 699s # arg_arg_b), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_b_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_b_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_b_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_b: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_b_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # gboolean arg_arg_b, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodB", 699s # g_variant_new ("(b)", 699s # arg_arg_b), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_b: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_b ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpf4n2fq3x.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpf4n2fq3x.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # guchar arg_arg_y, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_uchar (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_y", 699s # (gchar *) "y", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodY", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-y", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_y ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_y: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-y", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_y, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_y: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_y: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_y ( 699s # OrgProjectUsefulInterface *proxy, 699s # guchar arg_arg_y, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodY", 699s # g_variant_new ("(y)", 699s # arg_arg_y), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_y_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_y_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_y_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_y: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_y_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # guchar arg_arg_y, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodY", 699s # g_variant_new ("(y)", 699s # arg_arg_y), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_y: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_y ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpwwnxnsxx.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpwwnxnsxx.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # gint16 arg_arg_n, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_int (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_n", 699s # (gchar *) "n", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodN", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-n", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_n ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_n: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-n", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_n, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_n: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_n: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_n ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint16 arg_arg_n, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodN", 699s # g_variant_new ("(n)", 699s # arg_arg_n), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_n_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_n_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_n_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_n: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_n_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint16 arg_arg_n, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodN", 699s # g_variant_new ("(n)", 699s # arg_arg_n), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_n: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_n ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp33t7soey.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp33t7soey.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # guint16 arg_arg_q, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_uint (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_q", 699s # (gchar *) "q", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodQ", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-q", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_q ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_q: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-q", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_q, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_q: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_q: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_q ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint16 arg_arg_q, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodQ", 699s # g_variant_new ("(q)", 699s # arg_arg_q), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_q_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_q_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_q_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_q: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_q_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint16 arg_arg_q, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodQ", 699s # g_variant_new ("(q)", 699s # arg_arg_q), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_q: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_q ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpn3opz_s3.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpn3opz_s3.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # gint arg_arg_i, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_int (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_i", 699s # (gchar *) "i", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodI", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-i", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_i ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_i: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-i", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_i, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_i: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_i: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_i ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint arg_arg_i, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodI", 699s # g_variant_new ("(i)", 699s # arg_arg_i), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_i_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_i_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_i_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_i: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_i_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint arg_arg_i, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodI", 699s # g_variant_new ("(i)", 699s # arg_arg_i), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_i: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_i ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpqzxs95en.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpqzxs95en.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # guint arg_arg_u, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_uint (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_u", 699s # (gchar *) "u", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodU", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-u", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_u ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_u: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-u", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_u, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_u: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_u: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_u ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint arg_arg_u, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodU", 699s # g_variant_new ("(u)", 699s # arg_arg_u), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_u_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_u_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_u_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_u: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_u_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint arg_arg_u, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodU", 699s # g_variant_new ("(u)", 699s # arg_arg_u), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_u: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_u ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpl2cr7k0h.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpl2cr7k0h.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # gint64 arg_arg_x, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_int64 (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_x", 699s # (gchar *) "x", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodX", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-x", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_x ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_x: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-x", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_x, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_x: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_x: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_x ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint64 arg_arg_x, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodX", 699s # g_variant_new ("(x)", 699s # arg_arg_x), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_x_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_x_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_x_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_x: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_x_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # gint64 arg_arg_x, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodX", 699s # g_variant_new ("(x)", 699s # arg_arg_x), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_x: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_x ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpl_rd314z.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpl_rd314z.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # guint64 arg_arg_t, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_uint64 (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_t", 699s # (gchar *) "t", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodT", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-t", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_t ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_t: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-t", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_t, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_t: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_t: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_t ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint64 arg_arg_t, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodT", 699s # g_variant_new ("(t)", 699s # arg_arg_t), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_t_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_t_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_t_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_t: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_t_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # guint64 arg_arg_t, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodT", 699s # g_variant_new ("(t)", 699s # arg_arg_t), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_t: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_t ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmph4a3vez4.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmph4a3vez4.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # gdouble arg_arg_d, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_double (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_d", 699s # (gchar *) "d", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodD", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-d", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_d ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_d: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-d", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_d, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_d: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_d: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_d ( 699s # OrgProjectUsefulInterface *proxy, 699s # gdouble arg_arg_d, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodD", 699s # g_variant_new ("(d)", 699s # arg_arg_d), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_d_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_d_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_d_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_d: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_d_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # gdouble arg_arg_d, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodD", 699s # g_variant_new ("(d)", 699s # arg_arg_d), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_d: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_d ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpbhevee8g.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpbhevee8g.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *arg_arg_s, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_string (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_s", 699s # (gchar *) "s", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodS", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-s", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_s ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_s: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-s", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_s, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_s: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_s: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_s ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_s, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodS", 699s # g_variant_new ("(s)", 699s # arg_arg_s), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_s_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_s_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_s_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_s: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_s_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_s, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodS", 699s # g_variant_new ("(s)", 699s # arg_arg_s), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_s: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_s ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp9976tnib.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp9976tnib.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *arg_arg_o, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_string (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_o", 699s # (gchar *) "o", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodO", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-o", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_o ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_o: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-o", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_o, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_o: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_o: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_o ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_o, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodO", 699s # g_variant_new ("(o)", 699s # arg_arg_o), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_o_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_o_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_o_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_o: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_o_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_o, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodO", 699s # g_variant_new ("(o)", 699s # arg_arg_o), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_o: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_o ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp7iq5_pa8.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp7iq5_pa8.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *arg_arg_g, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_string (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_g", 699s # (gchar *) "g", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodG", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-g", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_g ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_g: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-g", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_g, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_g: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_g: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_g ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_g, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodG", 699s # g_variant_new ("(g)", 699s # arg_arg_g), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_g_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_g_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_g_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_g: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_g_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_g, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodG", 699s # g_variant_new ("(g)", 699s # arg_arg_g), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_g: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_g ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp2jh8ori6.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp2jh8ori6.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # GVariant *arg_arg_h, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_variant (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_h", 699s # (gchar *) "h", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodH", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-h", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_h ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_h: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-h", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_h, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_h: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_h: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_h ( 699s # OrgProjectUsefulInterface *proxy, 699s # GVariant *arg_arg_h, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodH", 699s # g_variant_new ("(@h)", 699s # arg_arg_h), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_h_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_h_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_h_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_h: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_h_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # GVariant *arg_arg_h, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodH", 699s # g_variant_new ("(@h)", 699s # arg_arg_h), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_h: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_h ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp4bs6scej.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp4bs6scej.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *arg_arg_ay, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_string (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_ay", 699s # (gchar *) "ay", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodAy", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-ay", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_ay: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-ay", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_ay, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ay: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_ay: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_ay ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_ay, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAy", 699s # g_variant_new ("(^ay)", 699s # arg_arg_ay), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ay_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_ay_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ay_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_ay: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_ay_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *arg_arg_ay, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAy", 699s # g_variant_new ("(^ay)", 699s # arg_arg_ay), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_ay: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_ay ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp9qvp7oom.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp9qvp7oom.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *const *arg_arg_as, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_boxed (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_as", 699s # (gchar *) "as", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodAs", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-as", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_as ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_as: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-as", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_as, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_as: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_as: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_as ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_as, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAs", 699s # g_variant_new ("(^as)", 699s # arg_arg_as), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_as_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_as_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_as_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_as: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_as_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_as, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAs", 699s # g_variant_new ("(^as)", 699s # arg_arg_as), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_as: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_as ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmp0tt4pvvb.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmp0tt4pvvb.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *const *arg_arg_ao, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_boxed (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_ao", 699s # (gchar *) "ao", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodAo", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-ao", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_ao: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-ao", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_ao, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ao: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_ao: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_ao ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_ao, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAo", 699s # g_variant_new ("(^ao)", 699s # arg_arg_ao), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ao_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_ao_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_ao_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_ao: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_ao_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_ao, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAo", 699s # g_variant_new ("(^ao)", 699s # arg_arg_ao), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_ao: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_ao ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpb2uqs_cq.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpb2uqs_cq.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # const gchar *const *arg_arg_aay, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_boxed (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_aay", 699s # (gchar *) "aay", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodAay", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-aay", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_aay: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-aay", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_aay, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_aay: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_aay: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_aay ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_aay, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAay", 699s # g_variant_new ("(^aay)", 699s # arg_arg_aay), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_aay_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_aay_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_aay_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_aay: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_aay_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # const gchar *const *arg_arg_aay, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAay", 699s # g_variant_new ("(^aay)", 699s # arg_arg_aay), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_aay: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_aay ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 699s # 699s # /tmp/tmpnyy0bqkw/tmpkbal9dyk.xml: 699s # 699s # 699s # 699s # 699s # 699s # 699s # 699s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyy0bqkw/tmpkbal9dyk.xml', '--output', '-', '--body'] 699s # Return code: 0 699s # Output: 699s # /* 699s # * This file is generated by gdbus-codegen, do not modify it. 699s # * 699s # * The license of this code is the same as for the D-Bus interface description 699s # * it was derived from. Note that it links to GLib, so must comply with the 699s # * LGPL linking clauses. 699s # */ 699s # 699s # #ifdef HAVE_CONFIG_H 699s # # include "config.h" 699s # #endif 699s # 699s # #include 699s # #ifdef G_OS_UNIX 699s # # include 699s # #endif 699s # 699s # #ifdef G_ENABLE_DEBUG 699s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 699s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 699s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 699s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 699s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 699s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 699s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 699s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 699s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 699s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 699s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 699s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 699s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 699s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 699s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 699s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 699s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 699s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 699s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 699s # #else /* !G_ENABLE_DEBUG */ 699s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 699s # * Do not access GValues directly in your code. Instead, use the 699s # * g_value_get_*() functions 699s # */ 699s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 699s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 699s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 699s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 699s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 699s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 699s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 699s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 699s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 699s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 699s # #endif /* !G_ENABLE_DEBUG */ 699s # 699s # typedef struct 699s # { 699s # GDBusArgInfo parent_struct; 699s # gboolean use_gvariant; 699s # } _ExtendedGDBusArgInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusMethodInfo parent_struct; 699s # const gchar *signal_name; 699s # gboolean pass_fdlist; 699s # } _ExtendedGDBusMethodInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusSignalInfo parent_struct; 699s # const gchar *signal_name; 699s # } _ExtendedGDBusSignalInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusPropertyInfo parent_struct; 699s # const gchar *hyphen_name; 699s # guint use_gvariant : 1; 699s # guint emits_changed_signal : 1; 699s # } _ExtendedGDBusPropertyInfo; 699s # 699s # typedef struct 699s # { 699s # GDBusInterfaceInfo parent_struct; 699s # const gchar *hyphen_name; 699s # } _ExtendedGDBusInterfaceInfo; 699s # 699s # typedef struct 699s # { 699s # const _ExtendedGDBusPropertyInfo *info; 699s # guint prop_id; 699s # GValue orig_value; /* the value before the change */ 699s # } ChangedProperty; 699s # 699s # static void 699s # _changed_property_free (ChangedProperty *data) 699s # { 699s # g_value_unset (&data->orig_value); 699s # g_free (data); 699s # } 699s # 699s # static gboolean 699s # _g_strv_equal0 (gchar **a, gchar **b) 699s # { 699s # gboolean ret = FALSE; 699s # guint n; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # if (g_strv_length (a) != g_strv_length (b)) 699s # goto out; 699s # for (n = 0; a[n] != NULL; n++) 699s # if (g_strcmp0 (a[n], b[n]) != 0) 699s # goto out; 699s # ret = TRUE; 699s # out: 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _g_variant_equal0 (GVariant *a, GVariant *b) 699s # { 699s # gboolean ret = FALSE; 699s # if (a == NULL && b == NULL) 699s # { 699s # ret = TRUE; 699s # goto out; 699s # } 699s # if (a == NULL || b == NULL) 699s # goto out; 699s # ret = g_variant_equal (a, b); 699s # out: 699s # return ret; 699s # } 699s # 699s # G_GNUC_UNUSED static gboolean 699s # _g_value_equal (const GValue *a, const GValue *b) 699s # { 699s # gboolean ret = FALSE; 699s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 699s # switch (G_VALUE_TYPE (a)) 699s # { 699s # case G_TYPE_BOOLEAN: 699s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 699s # break; 699s # case G_TYPE_UCHAR: 699s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 699s # break; 699s # case G_TYPE_INT: 699s # ret = (g_value_get_int (a) == g_value_get_int (b)); 699s # break; 699s # case G_TYPE_UINT: 699s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 699s # break; 699s # case G_TYPE_INT64: 699s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 699s # break; 699s # case G_TYPE_UINT64: 699s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 699s # break; 699s # case G_TYPE_DOUBLE: 699s # { 699s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 699s # gdouble da = g_value_get_double (a); 699s # gdouble db = g_value_get_double (b); 699s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 699s # } 699s # break; 699s # case G_TYPE_STRING: 699s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 699s # break; 699s # case G_TYPE_VARIANT: 699s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 699s # break; 699s # default: 699s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 699s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 699s # else 699s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 699s # break; 699s # } 699s # return ret; 699s # } 699s # 699s # static void 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint G_GNUC_UNUSED, 699s # void *marshal_data) 699s # { 699s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 699s # (void *data1, 699s # GDBusMethodInvocation *arg_method_invocation, 699s # GVariant *arg_arg_asv, 699s # void *data2); 699s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 699s # GCClosure *cc = (GCClosure*) closure; 699s # void *data1, *data2; 699s # gboolean v_return; 699s # 699s # g_return_if_fail (return_value != NULL); 699s # g_return_if_fail (n_param_values == 3); 699s # 699s # if (G_CCLOSURE_SWAP_DATA (closure)) 699s # { 699s # data1 = closure->data; 699s # data2 = g_value_peek_pointer (param_values + 0); 699s # } 699s # else 699s # { 699s # data1 = g_value_peek_pointer (param_values + 0); 699s # data2 = closure->data; 699s # } 699s # 699s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 699s # (marshal_data ? marshal_data : cc->callback); 699s # 699s # v_return = 699s # callback (data1, 699s # g_marshal_value_peek_object (param_values + 1), 699s # g_marshal_value_peek_variant (param_values + 2), 699s # data2); 699s # 699s # g_value_set_boolean (return_value, v_return); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ 699s # * Code for interface org.project.UsefulInterface 699s # * ------------------------------------------------------------------------ 699s # */ 699s # 699s # /** 699s # * SECTION:OrgProjectUsefulInterface 699s # * @title: OrgProjectUsefulInterface 699s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 699s # * 699s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 699s # */ 699s # 699s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 699s # 699s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 699s # { 699s # { 699s # -1, 699s # (gchar *) "arg_asv", 699s # (gchar *) "a{sv}", 699s # NULL 699s # }, 699s # FALSE 699s # }; 699s # 699s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 699s # { 699s # { 699s # -1, 699s # (gchar *) "SingleArgMethodAsv", 699s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 699s # NULL, 699s # NULL 699s # }, 699s # "handle-single-arg-method-asv", 699s # FALSE 699s # }; 699s # 699s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 699s # { 699s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 699s # NULL 699s # }; 699s # 699s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 699s # { 699s # { 699s # -1, 699s # (gchar *) "org.project.UsefulInterface", 699s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 699s # NULL, 699s # NULL, 699s # NULL 699s # }, 699s # "org-project-useful-interface", 699s # }; 699s # 699s # 699s # /** 699s # * org_project_useful_interface_interface_info: 699s # * 699s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 699s # * 699s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 699s # */ 699s # GDBusInterfaceInfo * 699s # org_project_useful_interface_interface_info (void) 699s # { 699s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_override_properties: 699s # * @klass: The class structure for a #GObject derived class. 699s # * @property_id_begin: The property id to assign to the first overridden property. 699s # * 699s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 699s # * The properties are overridden in the order they are defined. 699s # * 699s # * Returns: The last property id. 699s # */ 699s # guint 699s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 699s # { 699s # return property_id_begin - 1; 699s # } 699s # 699s # 699s # inline static void 699s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 699s # GClosure *closure, 699s # GValue *return_value, 699s # unsigned int n_param_values, 699s # const GValue *param_values, 699s # void *invocation_hint, 699s # void *marshal_data) 699s # { 699s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 699s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 699s # } 699s # 699s # 699s # /** 699s # * OrgProjectUsefulInterface: 699s # * 699s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceIface: 699s # * @parent_iface: The parent interface. 699s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 699s # * 699s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 699s # */ 699s # 699s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 699s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 699s # 699s # static void 699s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 699s # { 699s # /* GObject signals for incoming D-Bus method calls: */ 699s # /** 699s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: A #GDBusMethodInvocation. 699s # * @arg_arg_asv: Argument passed by remote caller. 699s # * 699s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 699s # * 699s # * 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. 699s # * 699s # * 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. 699s # */ 699s # g_signal_new ("handle-single-arg-method-asv", 699s # G_TYPE_FROM_INTERFACE (iface), 699s # G_SIGNAL_RUN_LAST, 699s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 699s # g_signal_accumulator_true_handled, 699s # NULL, 699s # org_project_useful_interface_method_marshal_single_arg_method_asv, 699s # G_TYPE_BOOLEAN, 699s # 2, 699s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 699s # 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_asv: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_asv: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 699s # */ 699s # void 699s # org_project_useful_interface_call_single_arg_method_asv ( 699s # OrgProjectUsefulInterface *proxy, 699s # GVariant *arg_arg_asv, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAsv", 699s # g_variant_new ("(@a{sv})", 699s # arg_arg_asv), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # callback, 699s # user_data); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_asv_finish: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_asv_finish ( 699s # OrgProjectUsefulInterface *proxy, 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_call_single_arg_method_asv_sync: 699s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 699s # * @arg_arg_asv: Argument to pass with the method invocation. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL. 699s # * 699s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 699s # * 699s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 699s # */ 699s # gboolean 699s # org_project_useful_interface_call_single_arg_method_asv_sync ( 699s # OrgProjectUsefulInterface *proxy, 699s # GVariant *arg_arg_asv, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GVariant *_ret; 699s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 699s # "SingleArgMethodAsv", 699s # g_variant_new ("(@a{sv})", 699s # arg_arg_asv), 699s # G_DBUS_CALL_FLAGS_NONE, 699s # -1, 699s # cancellable, 699s # error); 699s # if (_ret == NULL) 699s # goto _out; 699s # g_variant_get (_ret, 699s # "()"); 699s # g_variant_unref (_ret); 699s # _out: 699s # return _ret != NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_complete_single_arg_method_asv: 699s # * @object: A #OrgProjectUsefulInterface. 699s # * @invocation: (transfer full): A #GDBusMethodInvocation. 699s # * 699s # * 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. 699s # * 699s # * This method will free @invocation, you cannot use it afterwards. 699s # */ 699s # void 699s # org_project_useful_interface_complete_single_arg_method_asv ( 699s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 699s # GDBusMethodInvocation *invocation) 699s # { 699s # g_dbus_method_invocation_return_value (invocation, 699s # g_variant_new ("()")); 699s # } 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxy: 699s # * 699s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceProxyClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceProxy. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceProxyPrivate 699s # { 699s # GData *qdata; 699s # }; 699s # 699s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_proxy_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 699s # g_datalist_clear (&proxy->priv->qdata); 699s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 699s # guint prop_id G_GNUC_UNUSED, 699s # const GValue *value G_GNUC_UNUSED, 699s # GParamSpec *pspec G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 699s # const gchar *sender_name G_GNUC_UNUSED, 699s # const gchar *signal_name, 699s # GVariant *parameters) 699s # { 699s # _ExtendedGDBusSignalInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # gsize n; 699s # guint signal_id; 699s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 699s # if (info == NULL) 699s # return; 699s # num_params = g_variant_n_children (parameters); 699s # paramv = g_new0 (GValue, num_params + 1); 699s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[0], proxy); 699s # g_variant_iter_init (&iter, parameters); 699s # n = 1; 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_signal_emitv (paramv, signal_id, 0, NULL); 699s # for (n = 0; n < num_params + 1; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 699s # GVariant *changed_properties, 699s # const gchar *const *invalidated_properties) 699s # { 699s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 699s # guint n; 699s # const gchar *key; 699s # GVariantIter *iter; 699s # _ExtendedGDBusPropertyInfo *info; 699s # g_variant_get (changed_properties, "a{sv}", &iter); 699s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 699s # g_datalist_remove_data (&proxy->priv->qdata, key); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # g_variant_iter_free (iter); 699s # for (n = 0; invalidated_properties[n] != NULL; n++) 699s # { 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 699s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 699s # if (info != NULL) 699s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 699s # } 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 699s # #else 699s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 699s # #endif 699s # 699s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusProxyClass *proxy_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 699s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 699s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 699s # 699s # proxy_class = G_DBUS_PROXY_CLASS (klass); 699s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 699s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_sync: 699s # * @connection: A #GDBusConnection. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_sync ( 699s # GDBusConnection *connection, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 699s # * @user_data: User data to pass to @callback. 699s # * 699s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 699s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 699s # */ 699s # void 699s # org_project_useful_interface_proxy_new_for_bus ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GAsyncReadyCallback callback, 699s # gpointer user_data) 699s # { 699s # g_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); 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_finish: 699s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 699s # * @error: Return location for error or %NULL 699s # * 699s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_finish ( 699s # GAsyncResult *res, 699s # GError **error) 699s # { 699s # GObject *ret; 699s # GObject *source_object; 699s # source_object = g_async_result_get_source_object (res); 699s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 699s # g_object_unref (source_object); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_proxy_new_for_bus_sync: 699s # * @bus_type: A #GBusType. 699s # * @flags: Flags from the #GDBusProxyFlags enumeration. 699s # * @name: A bus name (well-known or unique). 699s # * @object_path: An object path. 699s # * @cancellable: (nullable): A #GCancellable or %NULL. 699s # * @error: Return location for error or %NULL 699s # * 699s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 699s # * 699s # * The calling thread is blocked until a reply is received. 699s # * 699s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_proxy_new_for_bus_sync ( 699s # GBusType bus_type, 699s # GDBusProxyFlags flags, 699s # const gchar *name, 699s # const gchar *object_path, 699s # GCancellable *cancellable, 699s # GError **error) 699s # { 699s # GInitable *ret; 699s # 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); 699s # if (ret != NULL) 699s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 699s # else 699s # return NULL; 699s # } 699s # 699s # 699s # /* ------------------------------------------------------------------------ */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeleton: 699s # * 699s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 699s # */ 699s # 699s # /** 699s # * OrgProjectUsefulInterfaceSkeletonClass: 699s # * @parent_class: The parent class. 699s # * 699s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 699s # */ 699s # 699s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 699s # { 699s # GValue *properties; 699s # GList *changed_properties; 699s # GSource *changed_properties_idle_source; 699s # GMainContext *context; 699s # GMutex lock; 699s # }; 699s # 699s # static void 699s # _org_project_useful_interface_skeleton_handle_method_call ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name, 699s # const gchar *method_name, 699s # GVariant *parameters, 699s # GDBusMethodInvocation *invocation, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # _ExtendedGDBusMethodInfo *info; 699s # GVariantIter iter; 699s # GVariant *child; 699s # GValue *paramv; 699s # gsize num_params; 699s # guint num_extra; 699s # gsize n; 699s # guint signal_id; 699s # GValue return_value = G_VALUE_INIT; 699s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 699s # g_assert (info != NULL); 699s # num_params = g_variant_n_children (parameters); 699s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 699s # n = 0; 699s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_set_object (¶mv[n++], skeleton); 699s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 699s # g_value_set_object (¶mv[n++], invocation); 699s # if (info->pass_fdlist) 699s # { 699s # #ifdef G_OS_UNIX 699s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 699s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 699s # #else 699s # g_assert_not_reached (); 699s # #endif 699s # } 699s # g_variant_iter_init (&iter, parameters); 699s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 699s # { 699s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 699s # if (arg_info->use_gvariant) 699s # { 699s # g_value_init (¶mv[n], G_TYPE_VARIANT); 699s # g_value_set_variant (¶mv[n], child); 699s # n++; 699s # } 699s # else 699s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 699s # g_variant_unref (child); 699s # } 699s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 699s # g_value_init (&return_value, G_TYPE_BOOLEAN); 699s # g_signal_emitv (paramv, signal_id, 0, &return_value); 699s # if (!g_value_get_boolean (&return_value)) 699s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 699s # g_value_unset (&return_value); 699s # for (n = 0; n < num_params + num_extra; n++) 699s # g_value_unset (¶mv[n]); 699s # g_free (paramv); 699s # } 699s # 699s # static GVariant * 699s # _org_project_useful_interface_skeleton_handle_get_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # GVariant *ret; 699s # ret = NULL; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # g_value_init (&value, pspec->value_type); 699s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 699s # g_value_unset (&value); 699s # } 699s # return ret; 699s # } 699s # 699s # static gboolean 699s # _org_project_useful_interface_skeleton_handle_set_property ( 699s # GDBusConnection *connection G_GNUC_UNUSED, 699s # const gchar *sender G_GNUC_UNUSED, 699s # const gchar *object_path G_GNUC_UNUSED, 699s # const gchar *interface_name G_GNUC_UNUSED, 699s # const gchar *property_name, 699s # GVariant *variant, 699s # GError **error, 699s # gpointer user_data) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 699s # GValue value = G_VALUE_INIT; 699s # GParamSpec *pspec; 699s # _ExtendedGDBusPropertyInfo *info; 699s # gboolean ret; 699s # ret = FALSE; 699s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 699s # g_assert (info != NULL); 699s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 699s # if (pspec == NULL) 699s # { 699s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 699s # } 699s # else 699s # { 699s # if (info->use_gvariant) 699s # g_value_set_variant (&value, variant); 699s # else 699s # g_dbus_gvariant_to_gvalue (variant, &value); 699s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 699s # g_value_unset (&value); 699s # ret = TRUE; 699s # } 699s # return ret; 699s # } 699s # 699s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 699s # { 699s # _org_project_useful_interface_skeleton_handle_method_call, 699s # _org_project_useful_interface_skeleton_handle_get_property, 699s # _org_project_useful_interface_skeleton_handle_set_property, 699s # {NULL} 699s # }; 699s # 699s # static GDBusInterfaceInfo * 699s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return org_project_useful_interface_interface_info (); 699s # } 699s # 699s # static GDBusInterfaceVTable * 699s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 699s # { 699s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 699s # } 699s # 699s # static GVariant * 699s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 699s # 699s # GVariantBuilder builder; 699s # guint n; 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 699s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #else 699s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 699s # #endif 699s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 699s # goto out; 699s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 699s # { 699s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 699s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 699s # { 699s # GVariant *value; 699s # 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); 699s # if (value != NULL) 699s # { 699s # g_variant_take_ref (value); 699s # g_variant_builder_add (&builder, "{sv}", info->name, value); 699s # g_variant_unref (value); 699s # } 699s # } 699s # } 699s # out: 699s # return g_variant_builder_end (&builder); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #else 699s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 699s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 699s # 699s # #endif 699s # static void 699s # org_project_useful_interface_skeleton_finalize (GObject *object) 699s # { 699s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 699s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 699s # if (skeleton->priv->changed_properties_idle_source != NULL) 699s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 699s # g_main_context_unref (skeleton->priv->context); 699s # g_mutex_clear (&skeleton->priv->lock); 699s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 699s # { 699s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 699s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 699s # #else 699s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 699s # #endif 699s # 699s # g_mutex_init (&skeleton->priv->lock); 699s # skeleton->priv->context = g_main_context_ref_thread_default (); 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 699s # { 699s # GObjectClass *gobject_class; 699s # GDBusInterfaceSkeletonClass *skeleton_class; 699s # 699s # gobject_class = G_OBJECT_CLASS (klass); 699s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 699s # 699s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 699s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 699s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 699s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 699s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 699s # 699s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 699s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 699s # #endif 699s # } 699s # 699s # static void 699s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 699s # { 699s # } 699s # 699s # /** 699s # * org_project_useful_interface_skeleton_new: 699s # * 699s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 699s # * 699s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 699s # */ 699s # OrgProjectUsefulInterface * 699s # org_project_useful_interface_skeleton_new (void) 699s # { 699s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 699s # } 699s # Error: 700s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmppr3f5tkr 700s # /tmp/tmppr3f5tkr/tmpqn0xtecr.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpqn0xtecr.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodB", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-b", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_b ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-b", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_b, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_b: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_b ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodB", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_b_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_b_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gboolean *out_arg_b, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(b)", 700s # out_arg_b); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_b_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_b_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gboolean *out_arg_b, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodB", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(b)", 700s # out_arg_b); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_b: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_b: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_b ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gboolean arg_b) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(b)", 700s # arg_b)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmperfpmip_.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmperfpmip_.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodY", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-y", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_y ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-y", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_y, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_y: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_y ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodY", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_y_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_y_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # guchar *out_arg_y, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(y)", 700s # out_arg_y); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_y_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_y_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # guchar *out_arg_y, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodY", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(y)", 700s # out_arg_y); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_y: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_y: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_y ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # guchar arg_y) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(y)", 700s # arg_y)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp7l0uqax2.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp7l0uqax2.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodN", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-n", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_n ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-n", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_n, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_n: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_n ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodN", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_n_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_n_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint16 *out_arg_n, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(n)", 700s # out_arg_n); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_n_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_n_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint16 *out_arg_n, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodN", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(n)", 700s # out_arg_n); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_n: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_n: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_n ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gint16 arg_n) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(n)", 700s # arg_n)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpyxpku_vj.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpyxpku_vj.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodQ", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-q", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_q ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-q", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_q, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_q: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_q ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodQ", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_q_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_q_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint16 *out_arg_q, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(q)", 700s # out_arg_q); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_q_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_q_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint16 *out_arg_q, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodQ", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(q)", 700s # out_arg_q); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_q: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_q: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_q ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # guint16 arg_q) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(q)", 700s # arg_q)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmph2m8ychx.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmph2m8ychx.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodI", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-i", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_i ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-i", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_i, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_i: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_i ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodI", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_i_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_i_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint *out_arg_i, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(i)", 700s # out_arg_i); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_i_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_i_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint *out_arg_i, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodI", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(i)", 700s # out_arg_i); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_i: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_i: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_i ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gint arg_i) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(i)", 700s # arg_i)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp4fyun2db.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp4fyun2db.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodU", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-u", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_u ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-u", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_u, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_u: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_u ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodU", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_u_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_u_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint *out_arg_u, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(u)", 700s # out_arg_u); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_u_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_u_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint *out_arg_u, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodU", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(u)", 700s # out_arg_u); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_u: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_u: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_u ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # guint arg_u) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(u)", 700s # arg_u)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp0biin26r.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp0biin26r.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodX", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-x", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_x ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-x", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_x, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_x: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_x ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodX", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_x_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_x_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint64 *out_arg_x, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(x)", 700s # out_arg_x); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_x_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_x_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gint64 *out_arg_x, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodX", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(x)", 700s # out_arg_x); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_x: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_x: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_x ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gint64 arg_x) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(x)", 700s # arg_x)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp65wtd8f2.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp65wtd8f2.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodT", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-t", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_t ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-t", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_t, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_t: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_t ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodT", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_t_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_t_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint64 *out_arg_t, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(t)", 700s # out_arg_t); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_t_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_t_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # guint64 *out_arg_t, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodT", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(t)", 700s # out_arg_t); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_t: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_t: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_t ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # guint64 arg_t) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(t)", 700s # arg_t)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpum08tk5q.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpum08tk5q.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodD", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-d", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_d ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-d", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_d, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_d: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_d ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodD", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_d_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_d_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gdouble *out_arg_d, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(d)", 700s # out_arg_d); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_d_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_d_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gdouble *out_arg_d, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodD", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(d)", 700s # out_arg_d); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_d: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_d: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_d ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gdouble arg_d) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(d)", 700s # arg_d)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpxa4gcxam.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpxa4gcxam.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodS", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-s", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_s ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-s", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_s, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_s: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_s ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodS", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_s_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_s_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_s, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(s)", 700s # out_arg_s); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_s_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_s_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_s, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodS", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(s)", 700s # out_arg_s); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_s: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_s: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_s ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *arg_s) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(s)", 700s # arg_s)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmps5yowlen.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmps5yowlen.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodO", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-o", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_o ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-o", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_o, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_o: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_o ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodO", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_o_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_o_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_o, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(o)", 700s # out_arg_o); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_o_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_o_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_o, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodO", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(o)", 700s # out_arg_o); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_o: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_o: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_o ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *arg_o) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(o)", 700s # arg_o)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp1pbydqvv.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp1pbydqvv.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodG", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-g", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_g ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-g", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_g, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_g: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_g ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodG", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_g_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_g_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_g, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(g)", 700s # out_arg_g); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_g_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_g_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_g, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodG", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(g)", 700s # out_arg_g); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_g: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_g: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_g ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *arg_g) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(g)", 700s # arg_g)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp2tn1aj79.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp2tn1aj79.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodH", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-h", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_h ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-h", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_h, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_h: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_h ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodH", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_h_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_h_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # GVariant **out_arg_h, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(@h)", 700s # out_arg_h); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_h_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_h_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # GVariant **out_arg_h, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodH", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(@h)", 700s # out_arg_h); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_h: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_h: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_h ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # GVariant *arg_h) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(@h)", 700s # arg_h)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmp21kvqbpn.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmp21kvqbpn.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodAy", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-ay", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-ay", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_ay, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ay: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_ay ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAy", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ay_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_ay_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_ay, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^ay)", 700s # out_arg_ay); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ay_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_ay_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar **out_arg_ay, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAy", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^ay)", 700s # out_arg_ay); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_ay: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_ay: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_ay ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *arg_ay) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(^ay)", 700s # arg_ay)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpasldd5gy.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpasldd5gy.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodAs", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-as", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_as ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-as", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_as, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_as: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_as ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAs", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_as_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_as_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_as, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^as)", 700s # out_arg_as); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_as_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_as_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_as, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAs", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^as)", 700s # out_arg_as); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_as: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_as: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_as ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *const *arg_as) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(^as)", 700s # arg_as)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpcpluxhwz.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpcpluxhwz.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodAo", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-ao", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-ao", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_ao, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ao: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_ao ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAo", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ao_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_ao_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_ao, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^ao)", 700s # out_arg_ao); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_ao_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_ao_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_ao, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAo", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^ao)", 700s # out_arg_ao); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_ao: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_ao: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_ao ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *const *arg_ao) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(^ao)", 700s # arg_ao)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpt7uw5ern.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpt7uw5ern.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodAay", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-aay", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-aay", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_aay, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_aay: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_aay ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAay", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_aay_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_aay_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_aay, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^aay)", 700s # out_arg_aay); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_aay_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_aay_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # gchar ***out_arg_aay, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAay", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(^aay)", 700s # out_arg_aay); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_aay: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_aay: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_aay ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # const gchar *const *arg_aay) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(^aay)", 700s # arg_aay)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s # 700s # /tmp/tmppr3f5tkr/tmpy4n_7qy2.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppr3f5tkr/tmpy4n_7qy2.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "arg_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgMethodAsv", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-single-arg-method-asv", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-single-arg-method-asv", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_useful_interface_method_marshal_single_arg_method_asv, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_asv: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_useful_interface_call_single_arg_method_asv ( 700s # OrgProjectUsefulInterface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAsv", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_asv_finish: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_asv_finish ( 700s # OrgProjectUsefulInterface *proxy, 700s # GVariant **out_arg_asv, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(@a{sv})", 700s # out_arg_asv); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_call_single_arg_method_asv_sync: 700s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 700s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_useful_interface_call_single_arg_method_asv_sync ( 700s # OrgProjectUsefulInterface *proxy, 700s # GVariant **out_arg_asv, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SingleArgMethodAsv", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(@a{sv})", 700s # out_arg_asv); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_complete_single_arg_method_asv: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @arg_asv: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_useful_interface_complete_single_arg_method_asv ( 700s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # GVariant *arg_asv) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(@a{sv})", 700s # arg_asv)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpbytzc3g3 700s # /tmp/tmpbytzc3g3/tmpr63ulirr.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbytzc3g3/tmpr63ulirr.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 20); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # g_marshal_value_peek_boolean (param_values + 2), 700s # g_marshal_value_peek_uchar (param_values + 3), 700s # g_marshal_value_peek_int (param_values + 4), 700s # g_marshal_value_peek_uint (param_values + 5), 700s # g_marshal_value_peek_int (param_values + 6), 700s # g_marshal_value_peek_uint (param_values + 7), 700s # g_marshal_value_peek_int64 (param_values + 8), 700s # g_marshal_value_peek_uint64 (param_values + 9), 700s # g_marshal_value_peek_double (param_values + 10), 700s # g_marshal_value_peek_string (param_values + 11), 700s # g_marshal_value_peek_string (param_values + 12), 700s # g_marshal_value_peek_string (param_values + 13), 700s # g_marshal_value_peek_variant (param_values + 14), 700s # g_marshal_value_peek_string (param_values + 15), 700s # g_marshal_value_peek_boxed (param_values + 16), 700s # g_marshal_value_peek_boxed (param_values + 17), 700s # g_marshal_value_peek_boxed (param_values + 18), 700s # g_marshal_value_peek_variant (param_values + 19), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.CallableIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectCallableIface 700s # * @title: OrgProjectCallableIface 700s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.CallableIface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 700s # { 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 700s # { 700s # { 700s # -1, 700s # (gchar *) "MethodWithManyArgs", 700s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "handle-method-with-many-args", 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 700s # { 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SameMethodWithManyArgs", 700s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "handle-same-method-with-many-args", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 700s # { 700s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 700s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.CallableIface", 700s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-callable-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_callable_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_callable_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_callable_iface_method_marshal_method_with_many_args ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _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, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _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, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectCallableIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 700s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.CallableIface. 700s # */ 700s # 700s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectCallableIface::handle-method-with-many-args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * @arg_an_b: Argument passed by remote caller. 700s # * @arg_an_y: Argument passed by remote caller. 700s # * @arg_an_n: Argument passed by remote caller. 700s # * @arg_an_q: Argument passed by remote caller. 700s # * @arg_an_i: Argument passed by remote caller. 700s # * @arg_an_u: Argument passed by remote caller. 700s # * @arg_an_x: Argument passed by remote caller. 700s # * @arg_an_t: Argument passed by remote caller. 700s # * @arg_an_d: Argument passed by remote caller. 700s # * @arg_an_s: Argument passed by remote caller. 700s # * @arg_an_o: Argument passed by remote caller. 700s # * @arg_an_g: Argument passed by remote caller. 700s # * @arg_an_h: Argument passed by remote caller. 700s # * @arg_an_ay: Argument passed by remote caller. 700s # * @arg_an_as: Argument passed by remote caller. 700s # * @arg_an_ao: Argument passed by remote caller. 700s # * @arg_an_aay: Argument passed by remote caller. 700s # * @arg_an_asv: Argument passed by remote caller. 700s # * 700s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-method-with-many-args", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_callable_iface_method_marshal_method_with_many_args, 700s # G_TYPE_BOOLEAN, 700s # 19, 700s # 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); 700s # 700s # /** 700s # * OrgProjectCallableIface::handle-same-method-with-many-args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * @arg_an_b: Argument passed by remote caller. 700s # * @arg_an_y: Argument passed by remote caller. 700s # * @arg_an_n: Argument passed by remote caller. 700s # * @arg_an_q: Argument passed by remote caller. 700s # * @arg_an_i: Argument passed by remote caller. 700s # * @arg_an_u: Argument passed by remote caller. 700s # * @arg_an_x: Argument passed by remote caller. 700s # * @arg_an_t: Argument passed by remote caller. 700s # * @arg_an_d: Argument passed by remote caller. 700s # * @arg_an_s: Argument passed by remote caller. 700s # * @arg_an_o: Argument passed by remote caller. 700s # * @arg_an_g: Argument passed by remote caller. 700s # * @arg_an_h: Argument passed by remote caller. 700s # * @arg_an_ay: Argument passed by remote caller. 700s # * @arg_an_as: Argument passed by remote caller. 700s # * @arg_an_ao: Argument passed by remote caller. 700s # * @arg_an_aay: Argument passed by remote caller. 700s # * @arg_an_asv: Argument passed by remote caller. 700s # * 700s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-same-method-with-many-args", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_callable_iface_method_marshal_same_method_with_many_args, 700s # G_TYPE_BOOLEAN, 700s # 19, 700s # 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); 700s # 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_callable_iface_call_method_with_many_args ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args_finish: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_method_with_many_args_finish ( 700s # OrgProjectCallableIface *proxy, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args_sync: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_method_with_many_args_sync ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_same_method_with_many_args: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_callable_iface_call_same_method_with_many_args ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "SameMethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_same_method_with_many_args_finish: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_same_method_with_many_args_finish ( 700s # OrgProjectCallableIface *proxy, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_same_method_with_many_args_sync: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_same_method_with_many_args_sync ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "SameMethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_complete_method_with_many_args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_callable_iface_complete_method_with_many_args ( 700s # OrgProjectCallableIface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("()")); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_complete_same_method_with_many_args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_callable_iface_complete_same_method_with_many_args ( 700s # OrgProjectCallableIface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("()")); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceProxy: 700s # * 700s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectCallableIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectCallableIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_callable_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_callable_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_callable_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceSkeleton: 700s # * 700s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectCallableIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectCallableIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_callable_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_callable_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_callable_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 700s # { 700s # _org_project_callable_iface_skeleton_handle_method_call, 700s # _org_project_callable_iface_skeleton_handle_get_property, 700s # _org_project_callable_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_callable_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_callable_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.OtherCallableIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectOtherCallableIface 700s # * @title: OrgProjectOtherCallableIface 700s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 700s # { 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 700s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 700s # { 700s # { 700s # -1, 700s # (gchar *) "MethodWithManyArgs", 700s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "handle-method-with-many-args", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 700s # { 700s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.OtherCallableIface", 700s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-other-callable-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_other_callable_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_other_callable_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _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, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectOtherCallableIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherCallableIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 700s # */ 700s # 700s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 700s # * @object: A #OrgProjectOtherCallableIface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * @arg_an_b: Argument passed by remote caller. 700s # * @arg_an_y: Argument passed by remote caller. 700s # * @arg_an_n: Argument passed by remote caller. 700s # * @arg_an_q: Argument passed by remote caller. 700s # * @arg_an_i: Argument passed by remote caller. 700s # * @arg_an_u: Argument passed by remote caller. 700s # * @arg_an_x: Argument passed by remote caller. 700s # * @arg_an_t: Argument passed by remote caller. 700s # * @arg_an_d: Argument passed by remote caller. 700s # * @arg_an_s: Argument passed by remote caller. 700s # * @arg_an_o: Argument passed by remote caller. 700s # * @arg_an_g: Argument passed by remote caller. 700s # * @arg_an_h: Argument passed by remote caller. 700s # * @arg_an_ay: Argument passed by remote caller. 700s # * @arg_an_as: Argument passed by remote caller. 700s # * @arg_an_ao: Argument passed by remote caller. 700s # * @arg_an_aay: Argument passed by remote caller. 700s # * @arg_an_asv: Argument passed by remote caller. 700s # * 700s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-method-with-many-args", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_other_callable_iface_method_marshal_method_with_many_args, 700s # G_TYPE_BOOLEAN, 700s # 19, 700s # 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); 700s # 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_call_method_with_many_args: 700s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_other_callable_iface_call_method_with_many_args ( 700s # OrgProjectOtherCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_call_method_with_many_args_finish: 700s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_other_callable_iface_call_method_with_many_args_finish ( 700s # OrgProjectOtherCallableIface *proxy, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_call_method_with_many_args_sync: 700s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 700s # * @arg_an_b: Argument to pass with the method invocation. 700s # * @arg_an_y: Argument to pass with the method invocation. 700s # * @arg_an_n: Argument to pass with the method invocation. 700s # * @arg_an_q: Argument to pass with the method invocation. 700s # * @arg_an_i: Argument to pass with the method invocation. 700s # * @arg_an_u: Argument to pass with the method invocation. 700s # * @arg_an_x: Argument to pass with the method invocation. 700s # * @arg_an_t: Argument to pass with the method invocation. 700s # * @arg_an_d: Argument to pass with the method invocation. 700s # * @arg_an_s: Argument to pass with the method invocation. 700s # * @arg_an_o: Argument to pass with the method invocation. 700s # * @arg_an_g: Argument to pass with the method invocation. 700s # * @arg_an_h: Argument to pass with the method invocation. 700s # * @arg_an_ay: Argument to pass with the method invocation. 700s # * @arg_an_as: Argument to pass with the method invocation. 700s # * @arg_an_ao: Argument to pass with the method invocation. 700s # * @arg_an_aay: Argument to pass with the method invocation. 700s # * @arg_an_asv: Argument to pass with the method invocation. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_other_callable_iface_call_method_with_many_args_sync ( 700s # OrgProjectOtherCallableIface *proxy, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "()"); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_complete_method_with_many_args: 700s # * @object: A #OrgProjectOtherCallableIface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_other_callable_iface_complete_method_with_many_args ( 700s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("()")); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherCallableIfaceProxy: 700s # * 700s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherCallableIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectOtherCallableIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_callable_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_callable_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherCallableIface * 700s # org_project_other_callable_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherCallableIface * 700s # org_project_other_callable_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_callable_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherCallableIface * 700s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherCallableIface * 700s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherCallableIfaceSkeleton: 700s # * 700s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherCallableIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_other_callable_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_other_callable_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_other_callable_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 700s # { 700s # _org_project_other_callable_iface_skeleton_handle_method_call, 700s # _org_project_other_callable_iface_skeleton_handle_get_property, 700s # _org_project_other_callable_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_other_callable_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_other_callable_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectOtherCallableIface * 700s # org_project_other_callable_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmp0ny9x2ej 700s # /tmp/tmp0ny9x2ej/tmpvzm0rmwa.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ny9x2ej/tmpvzm0rmwa.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.CallableIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectCallableIface 700s # * @title: OrgProjectCallableIface 700s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for org.project.CallableIface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 700s # { 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 700s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 700s # { 700s # { 700s # -1, 700s # (gchar *) "MethodWithManyArgs", 700s # NULL, 700s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-method-with-many-args", 700s # FALSE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 700s # { 700s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.CallableIface", 700s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-callable-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_callable_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_callable_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_callable_iface_method_marshal_method_with_many_args ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectCallableIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.CallableIface. 700s # */ 700s # 700s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * OrgProjectCallableIface::handle-method-with-many-args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * 700s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-method-with-many-args", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # org_project_callable_iface_method_marshal_method_with_many_args, 700s # G_TYPE_BOOLEAN, 700s # 1, 700s # G_TYPE_DBUS_METHOD_INVOCATION); 700s # 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # org_project_callable_iface_call_method_with_many_args ( 700s # OrgProjectCallableIface *proxy, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args_finish: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_method_with_many_args_finish ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean *out_an_b, 700s # guchar *out_an_y, 700s # gint16 *out_an_n, 700s # guint16 *out_an_q, 700s # gint *out_an_i, 700s # guint *out_an_u, 700s # gint64 *out_an_x, 700s # guint64 *out_an_t, 700s # gdouble *out_an_d, 700s # gchar **out_an_s, 700s # gchar **out_an_o, 700s # gchar **out_an_g, 700s # GVariant **out_an_h, 700s # gchar **out_an_ay, 700s # gchar ***out_an_as, 700s # gchar ***out_an_ao, 700s # gchar ***out_an_aay, 700s # GVariant **out_an_asv, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # out_an_b, 700s # out_an_y, 700s # out_an_n, 700s # out_an_q, 700s # out_an_i, 700s # out_an_u, 700s # out_an_x, 700s # out_an_t, 700s # out_an_d, 700s # out_an_s, 700s # out_an_o, 700s # out_an_g, 700s # out_an_h, 700s # out_an_ay, 700s # out_an_as, 700s # out_an_ao, 700s # out_an_aay, 700s # out_an_asv); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_call_method_with_many_args_sync: 700s # * @proxy: A #OrgProjectCallableIfaceProxy. 700s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 700s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # org_project_callable_iface_call_method_with_many_args_sync ( 700s # OrgProjectCallableIface *proxy, 700s # gboolean *out_an_b, 700s # guchar *out_an_y, 700s # gint16 *out_an_n, 700s # guint16 *out_an_q, 700s # gint *out_an_i, 700s # guint *out_an_u, 700s # gint64 *out_an_x, 700s # guint64 *out_an_t, 700s # gdouble *out_an_d, 700s # gchar **out_an_s, 700s # gchar **out_an_o, 700s # gchar **out_an_g, 700s # GVariant **out_an_h, 700s # gchar **out_an_ay, 700s # gchar ***out_an_as, 700s # gchar ***out_an_ao, 700s # gchar ***out_an_aay, 700s # GVariant **out_an_asv, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 700s # "MethodWithManyArgs", 700s # g_variant_new ("()"), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # out_an_b, 700s # out_an_y, 700s # out_an_n, 700s # out_an_q, 700s # out_an_i, 700s # out_an_u, 700s # out_an_x, 700s # out_an_t, 700s # out_an_d, 700s # out_an_s, 700s # out_an_o, 700s # out_an_g, 700s # out_an_h, 700s # out_an_ay, 700s # out_an_as, 700s # out_an_ao, 700s # out_an_aay, 700s # out_an_asv); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_complete_method_with_many_args: 700s # * @object: A #OrgProjectCallableIface. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @an_b: Parameter to return. 700s # * @an_y: Parameter to return. 700s # * @an_n: Parameter to return. 700s # * @an_q: Parameter to return. 700s # * @an_i: Parameter to return. 700s # * @an_u: Parameter to return. 700s # * @an_x: Parameter to return. 700s # * @an_t: Parameter to return. 700s # * @an_d: Parameter to return. 700s # * @an_s: Parameter to return. 700s # * @an_o: Parameter to return. 700s # * @an_g: Parameter to return. 700s # * @an_h: Parameter to return. 700s # * @an_ay: Parameter to return. 700s # * @an_as: Parameter to return. 700s # * @an_ao: Parameter to return. 700s # * @an_aay: Parameter to return. 700s # * @an_asv: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # org_project_callable_iface_complete_method_with_many_args ( 700s # OrgProjectCallableIface *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # gboolean an_b, 700s # guchar an_y, 700s # gint16 an_n, 700s # guint16 an_q, 700s # gint an_i, 700s # guint an_u, 700s # gint64 an_x, 700s # guint64 an_t, 700s # gdouble an_d, 700s # const gchar *an_s, 700s # const gchar *an_o, 700s # const gchar *an_g, 700s # GVariant *an_h, 700s # const gchar *an_ay, 700s # const gchar *const *an_as, 700s # const gchar *const *an_ao, 700s # const gchar *const *an_aay, 700s # GVariant *an_asv) 700s # { 700s # g_dbus_method_invocation_return_value (invocation, 700s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # an_b, 700s # an_y, 700s # an_n, 700s # an_q, 700s # an_i, 700s # an_u, 700s # an_x, 700s # an_t, 700s # an_d, 700s # an_s, 700s # an_o, 700s # an_g, 700s # an_h, 700s # an_ay, 700s # an_as, 700s # an_ao, 700s # an_aay, 700s # an_asv)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceProxy: 700s # * 700s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectCallableIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectCallableIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_callable_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_callable_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_callable_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_CALLABLE_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceSkeleton: 700s # * 700s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectCallableIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectCallableIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectCallableIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_callable_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_callable_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_callable_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 700s # { 700s # _org_project_callable_iface_skeleton_handle_method_call, 700s # _org_project_callable_iface_skeleton_handle_get_property, 700s # _org_project_callable_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_callable_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_callable_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_callable_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectCallableIface * 700s # org_project_callable_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpd0d54rdt 700s # /tmp/tmpd0d54rdt/tmpd6lo_v6j.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd0d54rdt/tmpd6lo_v6j.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 700s # (void *data1, 700s # GDBusMethodInvocation *arg_method_invocation, 700s # GUnixFDList *arg_fd_list, 700s # const gchar *arg_greeting, 700s # void *data2); 700s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # gboolean v_return; 700s # 700s # g_return_if_fail (return_value != NULL); 700s # g_return_if_fail (n_param_values == 4); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # v_return = 700s # callback (data1, 700s # g_marshal_value_peek_object (param_values + 1), 700s # g_marshal_value_peek_object (param_values + 2), 700s # g_marshal_value_peek_string (param_values + 3), 700s # data2); 700s # 700s # g_value_set_boolean (return_value, v_return); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface test.FDPassing 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:TestFDPassing 700s # * @title: TestFDPassing 700s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 700s # * 700s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 700s # */ 700s # 700s # /* ---- Introspection data for test.FDPassing ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 700s # { 700s # { 700s # -1, 700s # (gchar *) "greeting", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 700s # { 700s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 700s # { 700s # { 700s # -1, 700s # (gchar *) "response", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 700s # { 700s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 700s # { 700s # { 700s # -1, 700s # (gchar *) "HelloFD", 700s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 700s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 700s # NULL 700s # }, 700s # "handle-hello-fd", 700s # TRUE 700s # }; 700s # 700s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 700s # { 700s # &_test_fdpassing_method_info_hello_fd.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "test.FDPassing", 700s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 700s # NULL, 700s # NULL, 700s # NULL 700s # }, 700s # "test-fdpassing", 700s # }; 700s # 700s # 700s # /** 700s # * test_fdpassing_interface_info: 700s # * 700s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # test_fdpassing_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * test_fdpassing_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # test_fdpassing_method_marshal_hello_fd ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * TestFDPassing: 700s # * 700s # * Abstract interface type for the D-Bus interface test.FDPassing. 700s # */ 700s # 700s # /** 700s # * TestFDPassingIface: 700s # * @parent_iface: The parent interface. 700s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 700s # * 700s # * Virtual table for the D-Bus interface test.FDPassing. 700s # */ 700s # 700s # typedef TestFDPassingIface TestFDPassingInterface; 700s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 700s # 700s # static void 700s # test_fdpassing_default_init (TestFDPassingIface *iface) 700s # { 700s # /* GObject signals for incoming D-Bus method calls: */ 700s # /** 700s # * TestFDPassing::handle-hello-fd: 700s # * @object: A #TestFDPassing. 700s # * @invocation: A #GDBusMethodInvocation. 700s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 700s # * @arg_greeting: Argument passed by remote caller. 700s # * 700s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 700s # * 700s # * 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. 700s # * 700s # * 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. 700s # */ 700s # g_signal_new ("handle-hello-fd", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 700s # g_signal_accumulator_true_handled, 700s # NULL, 700s # test_fdpassing_method_marshal_hello_fd, 700s # G_TYPE_BOOLEAN, 700s # 3, 700s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 700s # 700s # } 700s # 700s # /** 700s # * test_fdpassing_call_hello_fd: 700s # * @proxy: A #TestFDPassingProxy. 700s # * @arg_greeting: Argument to pass with the method invocation. 700s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 700s # * 700s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 700s # */ 700s # void 700s # test_fdpassing_call_hello_fd ( 700s # TestFDPassing *proxy, 700s # const gchar *arg_greeting, 700s # GUnixFDList *fd_list, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 700s # "HelloFD", 700s # g_variant_new ("(s)", 700s # arg_greeting), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # fd_list, 700s # cancellable, 700s # callback, 700s # user_data); 700s # } 700s # 700s # /** 700s # * test_fdpassing_call_hello_fd_finish: 700s # * @proxy: A #TestFDPassingProxy. 700s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # test_fdpassing_call_hello_fd_finish ( 700s # TestFDPassing *proxy, 700s # gchar **out_response, 700s # GUnixFDList **out_fd_list, 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(s)", 700s # out_response); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * test_fdpassing_call_hello_fd_sync: 700s # * @proxy: A #TestFDPassingProxy. 700s # * @arg_greeting: Argument to pass with the method invocation. 700s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 700s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 700s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL. 700s # * 700s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 700s # * 700s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 700s # * 700s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 700s # */ 700s # gboolean 700s # test_fdpassing_call_hello_fd_sync ( 700s # TestFDPassing *proxy, 700s # const gchar *arg_greeting, 700s # GUnixFDList *fd_list, 700s # gchar **out_response, 700s # GUnixFDList **out_fd_list, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GVariant *_ret; 700s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 700s # "HelloFD", 700s # g_variant_new ("(s)", 700s # arg_greeting), 700s # G_DBUS_CALL_FLAGS_NONE, 700s # -1, 700s # fd_list, 700s # out_fd_list, 700s # cancellable, 700s # error); 700s # if (_ret == NULL) 700s # goto _out; 700s # g_variant_get (_ret, 700s # "(s)", 700s # out_response); 700s # g_variant_unref (_ret); 700s # _out: 700s # return _ret != NULL; 700s # } 700s # 700s # /** 700s # * test_fdpassing_complete_hello_fd: 700s # * @object: A #TestFDPassing. 700s # * @invocation: (transfer full): A #GDBusMethodInvocation. 700s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 700s # * @response: Parameter to return. 700s # * 700s # * 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. 700s # * 700s # * This method will free @invocation, you cannot use it afterwards. 700s # */ 700s # void 700s # test_fdpassing_complete_hello_fd ( 700s # TestFDPassing *object G_GNUC_UNUSED, 700s # GDBusMethodInvocation *invocation, 700s # GUnixFDList *fd_list, 700s # const gchar *response) 700s # { 700s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 700s # g_variant_new ("(s)", 700s # response), 700s # fd_list); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * TestFDPassingProxy: 700s # * 700s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * TestFDPassingProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #TestFDPassingProxy. 700s # */ 700s # 700s # struct _TestFDPassingProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (TestFDPassingProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # test_fdpassing_proxy_finalize (GObject *object) 700s # { 700s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = test_fdpassing_proxy_finalize; 700s # gobject_class->get_property = test_fdpassing_proxy_get_property; 700s # gobject_class->set_property = test_fdpassing_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 700s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * test_fdpassing_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # test_fdpassing_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * test_fdpassing_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with test_fdpassing_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # TestFDPassing * 700s # test_fdpassing_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return TEST_FDPASSING (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * test_fdpassing_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # TestFDPassing * 700s # test_fdpassing_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return TEST_FDPASSING (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * test_fdpassing_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # test_fdpassing_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * test_fdpassing_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # TestFDPassing * 700s # test_fdpassing_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return TEST_FDPASSING (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * test_fdpassing_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # TestFDPassing * 700s # test_fdpassing_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return TEST_FDPASSING (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * TestFDPassingSkeleton: 700s # * 700s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * TestFDPassingSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #TestFDPassingSkeleton. 700s # */ 700s # 700s # struct _TestFDPassingSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _test_fdpassing_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _test_fdpassing_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _test_fdpassing_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 700s # { 700s # _test_fdpassing_skeleton_handle_method_call, 700s # _test_fdpassing_skeleton_handle_get_property, 700s # _test_fdpassing_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return test_fdpassing_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (TestFDPassingSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # test_fdpassing_skeleton_finalize (GObject *object) 700s # { 700s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * test_fdpassing_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 700s # * 700s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 700s # */ 700s # TestFDPassing * 700s # test_fdpassing_skeleton_new (void) 700s # { 700s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 15 __main__.TestCodegen.test_generate_rst 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpo0si5nis 700s # /tmp/tmpo0si5nis/tmp34wsvm34.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo0si5nis/tmp34wsvm34.xml', '--generate-rst', 'test'] 700s # Return code: 0 700s # Output: 700s # 700s # Error: 700s ok 16 __main__.TestCodegen.test_generate_rst_method 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpoxrwirb0 700s # /tmp/tmpoxrwirb0/tmpeiilxh4l.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxrwirb0/tmpeiilxh4l.xml', '--generate-rst', 'test'] 700s # Return code: 0 700s # Output: 700s # 700s # Error: 700s ok 17 __main__.TestCodegen.test_generate_rst_property 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpwb_fgiho 700s # /tmp/tmpwb_fgiho/tmphzjde5qh.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwb_fgiho/tmphzjde5qh.xml', '--generate-rst', 'test'] 700s # Return code: 0 700s # Output: 700s # 700s # Error: 700s ok 18 __main__.TestCodegen.test_generate_rst_signal 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmppygfe35s 700s # /tmp/tmppygfe35s/tmpekzlal9p.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppygfe35s/tmpekzlal9p.xml', '--generate-rst', 'test'] 700s # Return code: 0 700s # Output: 700s # 700s # Error: 700s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmp2yt0p_jh 700s # /tmp/tmp2yt0p_jh/tmpcbglwldi.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2yt0p_jh/tmpcbglwldi.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 700s # GClosure *closure, 700s # GValue *return_value G_GNUC_UNUSED, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 700s # (void *data1, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv, 700s # void *data2); 700s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # 700s # g_return_if_fail (n_param_values == 19); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # callback (data1, 700s # g_marshal_value_peek_boolean (param_values + 1), 700s # g_marshal_value_peek_uchar (param_values + 2), 700s # g_marshal_value_peek_int (param_values + 3), 700s # g_marshal_value_peek_uint (param_values + 4), 700s # g_marshal_value_peek_int (param_values + 5), 700s # g_marshal_value_peek_uint (param_values + 6), 700s # g_marshal_value_peek_int64 (param_values + 7), 700s # g_marshal_value_peek_uint64 (param_values + 8), 700s # g_marshal_value_peek_double (param_values + 9), 700s # g_marshal_value_peek_string (param_values + 10), 700s # g_marshal_value_peek_string (param_values + 11), 700s # g_marshal_value_peek_string (param_values + 12), 700s # g_marshal_value_peek_variant (param_values + 13), 700s # g_marshal_value_peek_string (param_values + 14), 700s # g_marshal_value_peek_boxed (param_values + 15), 700s # g_marshal_value_peek_boxed (param_values + 16), 700s # g_marshal_value_peek_boxed (param_values + 17), 700s # g_marshal_value_peek_variant (param_values + 18), 700s # data2); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.SignalingIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectSignalingIface 700s # * @title: OrgProjectSignalingIface 700s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.SignalingIface ---- */ 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SignalWithManyArgs", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 700s # NULL 700s # }, 700s # "signal-with-many-args" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.SignalingIface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-signaling-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_signaling_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectSignalingIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectSignalingIface::signal-with-many-args: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_b: Argument. 700s # * @arg_an_y: Argument. 700s # * @arg_an_n: Argument. 700s # * @arg_an_q: Argument. 700s # * @arg_an_i: Argument. 700s # * @arg_an_u: Argument. 700s # * @arg_an_x: Argument. 700s # * @arg_an_t: Argument. 700s # * @arg_an_d: Argument. 700s # * @arg_an_s: Argument. 700s # * @arg_an_o: Argument. 700s # * @arg_an_g: Argument. 700s # * @arg_an_h: Argument. 700s # * @arg_an_ay: Argument. 700s # * @arg_an_as: Argument. 700s # * @arg_an_ao: Argument. 700s # * @arg_an_aay: Argument. 700s # * @arg_an_asv: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 700s # g_signal_new ("signal-with-many-args", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 700s # G_TYPE_NONE, 700s # 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); 700s # 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_signal_with_many_args: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_b: Argument to pass with the signal. 700s # * @arg_an_y: Argument to pass with the signal. 700s # * @arg_an_n: Argument to pass with the signal. 700s # * @arg_an_q: Argument to pass with the signal. 700s # * @arg_an_i: Argument to pass with the signal. 700s # * @arg_an_u: Argument to pass with the signal. 700s # * @arg_an_x: Argument to pass with the signal. 700s # * @arg_an_t: Argument to pass with the signal. 700s # * @arg_an_d: Argument to pass with the signal. 700s # * @arg_an_s: Argument to pass with the signal. 700s # * @arg_an_o: Argument to pass with the signal. 700s # * @arg_an_g: Argument to pass with the signal. 700s # * @arg_an_h: Argument to pass with the signal. 700s # * @arg_an_ay: Argument to pass with the signal. 700s # * @arg_an_as: Argument to pass with the signal. 700s # * @arg_an_ao: Argument to pass with the signal. 700s # * @arg_an_aay: Argument to pass with the signal. 700s # * @arg_an_asv: Argument to pass with the signal. 700s # * 700s # * Emits the "SignalWithManyArgs" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_signal_with_many_args ( 700s # OrgProjectSignalingIface *object, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv) 700s # { 700s # 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); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxy: 700s # * 700s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeleton: 700s # * 700s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_signaling_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_signaling_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_signaling_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 700s # { 700s # _org_project_signaling_iface_skeleton_handle_method_call, 700s # _org_project_signaling_iface_skeleton_handle_get_property, 700s # _org_project_signaling_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_signaling_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 700s # OrgProjectSignalingIface *object, 700s # gboolean arg_an_b, 700s # guchar arg_an_y, 700s # gint16 arg_an_n, 700s # guint16 arg_an_q, 700s # gint arg_an_i, 700s # guint arg_an_u, 700s # gint64 arg_an_x, 700s # guint64 arg_an_t, 700s # gdouble arg_an_d, 700s # const gchar *arg_an_s, 700s # const gchar *arg_an_o, 700s # const gchar *arg_an_g, 700s # GVariant *arg_an_h, 700s # const gchar *arg_an_ay, 700s # const gchar *const *arg_an_as, 700s # const gchar *const *arg_an_ao, 700s # const gchar *const *arg_an_aay, 700s # GVariant *arg_an_asv) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 700s # arg_an_b, 700s # arg_an_y, 700s # arg_an_n, 700s # arg_an_q, 700s # arg_an_i, 700s # arg_an_u, 700s # arg_an_x, 700s # arg_an_t, 700s # arg_an_d, 700s # arg_an_s, 700s # arg_an_o, 700s # arg_an_g, 700s # arg_an_h, 700s # arg_an_ay, 700s # arg_an_as, 700s # arg_an_ao, 700s # arg_an_aay, 700s # arg_an_asv)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpv2e55f7f 700s # /tmp/tmpv2e55f7f/tmp_89hzr8y.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv2e55f7f/tmp_89hzr8y.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_VOID__INT64 ( 700s # GClosure *closure, 700s # GValue *return_value G_GNUC_UNUSED, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 700s # (void *data1, 700s # gint64 arg_an_x, 700s # void *data2); 700s # _GDbusCodegenMarshalVoid_Int64Func callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # callback (data1, 700s # g_marshal_value_peek_int64 (param_values + 1), 700s # data2); 700s # } 700s # 700s # static void 700s # _g_dbus_codegen_marshal_VOID__UINT64 ( 700s # GClosure *closure, 700s # GValue *return_value G_GNUC_UNUSED, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint G_GNUC_UNUSED, 700s # void *marshal_data) 700s # { 700s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 700s # (void *data1, 700s # guint64 arg_an_t, 700s # void *data2); 700s # _GDbusCodegenMarshalVoid_Uint64Func callback; 700s # GCClosure *cc = (GCClosure*) closure; 700s # void *data1, *data2; 700s # 700s # g_return_if_fail (n_param_values == 2); 700s # 700s # if (G_CCLOSURE_SWAP_DATA (closure)) 700s # { 700s # data1 = closure->data; 700s # data2 = g_value_peek_pointer (param_values + 0); 700s # } 700s # else 700s # { 700s # data1 = g_value_peek_pointer (param_values + 0); 700s # data2 = closure->data; 700s # } 700s # 700s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 700s # (marshal_data ? marshal_data : cc->callback); 700s # 700s # callback (data1, 700s # g_marshal_value_peek_uint64 (param_values + 1), 700s # data2); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.SignalingIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectSignalingIface 700s # * @title: OrgProjectSignalingIface 700s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 700s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.SignalingIface ---- */ 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 700s # { 700s # { 700s # -1, 700s # (gchar *) "NoArgSignal", 700s # NULL, 700s # NULL 700s # }, 700s # "no-arg-signal" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_b", 700s # (gchar *) "b", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalB", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-b" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_y", 700s # (gchar *) "y", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalY", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-y" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_n", 700s # (gchar *) "n", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalN", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-n" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_q", 700s # (gchar *) "q", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalQ", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-q" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_i", 700s # (gchar *) "i", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalI", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-i" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_u", 700s # (gchar *) "u", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalU", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-u" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_x", 700s # (gchar *) "x", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalX", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-x" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_t", 700s # (gchar *) "t", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalT", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-t" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_d", 700s # (gchar *) "d", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalD", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-d" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_s", 700s # (gchar *) "s", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalS", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-s" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_o", 700s # (gchar *) "o", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalO", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-o" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_g", 700s # (gchar *) "g", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalG", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-g" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_h", 700s # (gchar *) "h", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalH", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-h" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ay", 700s # (gchar *) "ay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalAY", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-ay" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_as", 700s # (gchar *) "as", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalAS", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-as" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_ao", 700s # (gchar *) "ao", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalAO", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-ao" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_aay", 700s # (gchar *) "aay", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalAAY", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-aay" 700s # }; 700s # 700s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "an_asv", 700s # (gchar *) "a{sv}", 700s # NULL 700s # }, 700s # FALSE 700s # }; 700s # 700s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SingleArgSignalASV", 700s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 700s # NULL 700s # }, 700s # "single-arg-signal-asv" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 700s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.SignalingIface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-signaling-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_signaling_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VOID (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__BOOLEAN (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__UCHAR (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__INT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__UINT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__INT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__UINT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__DOUBLE (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__STRING (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__STRING (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__STRING (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VARIANT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__STRING (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__BOXED (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__BOXED (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__BOXED (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VARIANT (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectSignalingIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 700s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 700s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 700s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 700s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 700s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 700s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 700s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 700s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 700s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 700s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 700s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 700s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 700s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 700s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 700s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 700s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 700s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 700s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectSignalingIface::no-arg-signal: 700s # * @object: A #OrgProjectSignalingIface. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 700s # g_signal_new ("no-arg-signal", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_no_arg_signal, 700s # G_TYPE_NONE, 700s # 0); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-b: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_b: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 700s # g_signal_new ("single-arg-signal-b", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_BOOLEAN); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-y: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_y: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 700s # g_signal_new ("single-arg-signal-y", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_UCHAR); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-n: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_n: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 700s # g_signal_new ("single-arg-signal-n", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_INT); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-q: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_q: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 700s # g_signal_new ("single-arg-signal-q", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_UINT); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-i: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_i: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 700s # g_signal_new ("single-arg-signal-i", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_INT); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-u: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_u: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 700s # g_signal_new ("single-arg-signal-u", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_UINT); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-x: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_x: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 700s # g_signal_new ("single-arg-signal-x", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_INT64); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-t: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_t: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 700s # g_signal_new ("single-arg-signal-t", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_UINT64); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-d: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_d: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 700s # g_signal_new ("single-arg-signal-d", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_DOUBLE); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-s: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_s: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 700s # g_signal_new ("single-arg-signal-s", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRING); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-o: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_o: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 700s # g_signal_new ("single-arg-signal-o", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRING); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-g: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_g: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 700s # g_signal_new ("single-arg-signal-g", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRING); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-h: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_h: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 700s # g_signal_new ("single-arg-signal-h", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_VARIANT); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-ay: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_ay: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 700s # g_signal_new ("single-arg-signal-ay", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRING); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-as: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_as: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 700s # g_signal_new ("single-arg-signal-as", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRV); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-ao: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_ao: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 700s # g_signal_new ("single-arg-signal-ao", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRV); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-aay: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_aay: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 700s # g_signal_new ("single-arg-signal-aay", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_STRV); 700s # 700s # /** 700s # * OrgProjectSignalingIface::single-arg-signal-asv: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_asv: Argument. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 700s # g_signal_new ("single-arg-signal-asv", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 700s # G_TYPE_NONE, 700s # 1, G_TYPE_VARIANT); 700s # 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_no_arg_signal: 700s # * @object: A #OrgProjectSignalingIface. 700s # * 700s # * Emits the "NoArgSignal" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_no_arg_signal ( 700s # OrgProjectSignalingIface *object) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_b: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_b: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalB" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_b ( 700s # OrgProjectSignalingIface *object, 700s # gboolean arg_an_b) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_y: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_y: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalY" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_y ( 700s # OrgProjectSignalingIface *object, 700s # guchar arg_an_y) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_n: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_n: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalN" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_n ( 700s # OrgProjectSignalingIface *object, 700s # gint16 arg_an_n) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_q: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_q: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalQ" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_q ( 700s # OrgProjectSignalingIface *object, 700s # guint16 arg_an_q) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_i: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_i: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalI" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_i ( 700s # OrgProjectSignalingIface *object, 700s # gint arg_an_i) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_u: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_u: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalU" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_u ( 700s # OrgProjectSignalingIface *object, 700s # guint arg_an_u) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_x: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_x: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalX" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_x ( 700s # OrgProjectSignalingIface *object, 700s # gint64 arg_an_x) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_t: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_t: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalT" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_t ( 700s # OrgProjectSignalingIface *object, 700s # guint64 arg_an_t) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_d: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_d: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalD" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_d ( 700s # OrgProjectSignalingIface *object, 700s # gdouble arg_an_d) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_s: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_s: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalS" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_s ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_s) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_o: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_o: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalO" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_o ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_o) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_g: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_g: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalG" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_g ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_g) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_h: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_h: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalH" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_h ( 700s # OrgProjectSignalingIface *object, 700s # GVariant *arg_an_h) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_ay: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_ay: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalAY" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_ay ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_ay) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_as: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_as: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalAS" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_as ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_as) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_ao: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_ao: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalAO" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_ao ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_ao) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_aay: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_aay: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalAAY" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_aay ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_aay) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_single_arg_signal_asv: 700s # * @object: A #OrgProjectSignalingIface. 700s # * @arg_an_asv: Argument to pass with the signal. 700s # * 700s # * Emits the "SingleArgSignalASV" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_single_arg_signal_asv ( 700s # OrgProjectSignalingIface *object, 700s # GVariant *arg_an_asv) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxy: 700s # * 700s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeleton: 700s # * 700s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_signaling_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_signaling_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_signaling_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 700s # { 700s # _org_project_signaling_iface_skeleton_handle_method_call, 700s # _org_project_signaling_iface_skeleton_handle_get_property, 700s # _org_project_signaling_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_signaling_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_no_arg_signal ( 700s # OrgProjectSignalingIface *object) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 700s # OrgProjectSignalingIface *object, 700s # gboolean arg_an_b) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 700s # arg_an_b)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 700s # OrgProjectSignalingIface *object, 700s # guchar arg_an_y) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 700s # arg_an_y)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 700s # OrgProjectSignalingIface *object, 700s # gint16 arg_an_n) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 700s # arg_an_n)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 700s # OrgProjectSignalingIface *object, 700s # guint16 arg_an_q) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 700s # arg_an_q)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 700s # OrgProjectSignalingIface *object, 700s # gint arg_an_i) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 700s # arg_an_i)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 700s # OrgProjectSignalingIface *object, 700s # guint arg_an_u) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 700s # arg_an_u)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 700s # OrgProjectSignalingIface *object, 700s # gint64 arg_an_x) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 700s # arg_an_x)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 700s # OrgProjectSignalingIface *object, 700s # guint64 arg_an_t) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 700s # arg_an_t)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 700s # OrgProjectSignalingIface *object, 700s # gdouble arg_an_d) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 700s # arg_an_d)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_s) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 700s # arg_an_s)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_o) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 700s # arg_an_o)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_g) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 700s # arg_an_g)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 700s # OrgProjectSignalingIface *object, 700s # GVariant *arg_an_h) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 700s # arg_an_h)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *arg_an_ay) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 700s # arg_an_ay)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_as) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 700s # arg_an_as)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_ao) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 700s # arg_an_ao)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 700s # OrgProjectSignalingIface *object, 700s # const gchar *const *arg_an_aay) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 700s # arg_an_aay)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 700s # OrgProjectSignalingIface *object, 700s # GVariant *arg_an_asv) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 700s # arg_an_asv)); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 700s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 700s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 700s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 700s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 700s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 700s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 700s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 700s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 700s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 700s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 700s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 700s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 700s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 700s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 700s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 700s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 700s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 700s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpnhvy4wi2 700s # /tmp/tmpnhvy4wi2/tmp6yv9chff.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnhvy4wi2/tmp6yv9chff.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.UsefulInterface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectUsefulInterface 700s # * @title: OrgProjectUsefulInterface 700s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SimpleSignal", 700s # NULL, 700s # NULL 700s # }, 700s # "simple-signal" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 700s # { 700s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.UsefulInterface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-useful-interface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_useful_interface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_useful_interface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_useful_interface_signal_marshal_simple_signal ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VOID (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectUsefulInterface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 700s # */ 700s # 700s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectUsefulInterface::simple-signal: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 700s # g_signal_new ("simple-signal", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 700s # NULL, 700s # NULL, 700s # org_project_useful_interface_signal_marshal_simple_signal, 700s # G_TYPE_NONE, 700s # 0); 700s # 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_emit_simple_signal: 700s # * @object: A #OrgProjectUsefulInterface. 700s # * 700s # * Emits the "SimpleSignal" D-Bus signal. 700s # */ 700s # void 700s # org_project_useful_interface_emit_simple_signal ( 700s # OrgProjectUsefulInterface *object) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxy: 700s # * 700s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 700s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 700s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_useful_interface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # g_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); 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeleton: 700s # * 700s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectUsefulInterfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_useful_interface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_useful_interface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_useful_interface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 700s # { 700s # _org_project_useful_interface_skeleton_handle_method_call, 700s # _org_project_useful_interface_skeleton_handle_get_property, 700s # _org_project_useful_interface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_useful_interface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_useful_interface_on_signal_simple_signal ( 700s # OrgProjectUsefulInterface *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_useful_interface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 700s # { 700s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 700s # } 700s # 700s # /** 700s # * org_project_useful_interface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectUsefulInterface * 700s # org_project_useful_interface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.OtherIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectOtherIface 700s # * @title: OrgProjectOtherIface 700s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.OtherIface ---- */ 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SimpleSignal", 700s # NULL, 700s # NULL 700s # }, 700s # "simple-signal" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 700s # { 700s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.OtherIface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-other-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_other_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_other_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_other_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_other_iface_signal_marshal_simple_signal ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VOID (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectOtherIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.OtherIface. 700s # */ 700s # 700s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectOtherIface::simple-signal: 700s # * @object: A #OrgProjectOtherIface. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 700s # g_signal_new ("simple-signal", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 700s # NULL, 700s # NULL, 700s # org_project_other_iface_signal_marshal_simple_signal, 700s # G_TYPE_NONE, 700s # 0); 700s # 700s # } 700s # 700s # /** 700s # * org_project_other_iface_emit_simple_signal: 700s # * @object: A #OrgProjectOtherIface. 700s # * 700s # * Emits the "SimpleSignal" D-Bus signal. 700s # */ 700s # void 700s # org_project_other_iface_emit_simple_signal ( 700s # OrgProjectOtherIface *object) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherIfaceProxy: 700s # * 700s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectOtherIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_other_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherIface * 700s # org_project_other_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherIface * 700s # org_project_other_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_other_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherIface * 700s # org_project_other_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherIface * 700s # org_project_other_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherIfaceSkeleton: 700s # * 700s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectOtherIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_other_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_other_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_other_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 700s # { 700s # _org_project_other_iface_skeleton_handle_method_call, 700s # _org_project_other_iface_skeleton_handle_get_property, 700s # _org_project_other_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_other_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_other_iface_on_signal_simple_signal ( 700s # OrgProjectOtherIface *object) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 700s # { 700s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 700s # } 700s # 700s # /** 700s # * org_project_other_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectOtherIface * 700s # org_project_other_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 700s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 700s # gdbus-codegen: /usr/bin/gdbus-codegen 700s # tmpdir: /tmp/tmpts3f4sbl 700s # /tmp/tmpts3f4sbl/tmpqa0z1ngy.xml: 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # 700s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpts3f4sbl/tmpqa0z1ngy.xml', '--output', '-', '--body'] 700s # Return code: 0 700s # Output: 700s # /* 700s # * This file is generated by gdbus-codegen, do not modify it. 700s # * 700s # * The license of this code is the same as for the D-Bus interface description 700s # * it was derived from. Note that it links to GLib, so must comply with the 700s # * LGPL linking clauses. 700s # */ 700s # 700s # #ifdef HAVE_CONFIG_H 700s # # include "config.h" 700s # #endif 700s # 700s # #include 700s # #ifdef G_OS_UNIX 700s # # include 700s # #endif 700s # 700s # #ifdef G_ENABLE_DEBUG 700s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 700s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 700s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 700s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 700s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 700s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 700s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 700s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 700s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 700s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 700s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 700s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 700s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 700s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 700s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 700s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 700s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 700s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 700s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 700s # #else /* !G_ENABLE_DEBUG */ 700s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 700s # * Do not access GValues directly in your code. Instead, use the 700s # * g_value_get_*() functions 700s # */ 700s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 700s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 700s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 700s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 700s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 700s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 700s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 700s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 700s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 700s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 700s # #endif /* !G_ENABLE_DEBUG */ 700s # 700s # typedef struct 700s # { 700s # GDBusArgInfo parent_struct; 700s # gboolean use_gvariant; 700s # } _ExtendedGDBusArgInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusMethodInfo parent_struct; 700s # const gchar *signal_name; 700s # gboolean pass_fdlist; 700s # } _ExtendedGDBusMethodInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusSignalInfo parent_struct; 700s # const gchar *signal_name; 700s # } _ExtendedGDBusSignalInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusPropertyInfo parent_struct; 700s # const gchar *hyphen_name; 700s # guint use_gvariant : 1; 700s # guint emits_changed_signal : 1; 700s # } _ExtendedGDBusPropertyInfo; 700s # 700s # typedef struct 700s # { 700s # GDBusInterfaceInfo parent_struct; 700s # const gchar *hyphen_name; 700s # } _ExtendedGDBusInterfaceInfo; 700s # 700s # typedef struct 700s # { 700s # const _ExtendedGDBusPropertyInfo *info; 700s # guint prop_id; 700s # GValue orig_value; /* the value before the change */ 700s # } ChangedProperty; 700s # 700s # static void 700s # _changed_property_free (ChangedProperty *data) 700s # { 700s # g_value_unset (&data->orig_value); 700s # g_free (data); 700s # } 700s # 700s # static gboolean 700s # _g_strv_equal0 (gchar **a, gchar **b) 700s # { 700s # gboolean ret = FALSE; 700s # guint n; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # if (g_strv_length (a) != g_strv_length (b)) 700s # goto out; 700s # for (n = 0; a[n] != NULL; n++) 700s # if (g_strcmp0 (a[n], b[n]) != 0) 700s # goto out; 700s # ret = TRUE; 700s # out: 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _g_variant_equal0 (GVariant *a, GVariant *b) 700s # { 700s # gboolean ret = FALSE; 700s # if (a == NULL && b == NULL) 700s # { 700s # ret = TRUE; 700s # goto out; 700s # } 700s # if (a == NULL || b == NULL) 700s # goto out; 700s # ret = g_variant_equal (a, b); 700s # out: 700s # return ret; 700s # } 700s # 700s # G_GNUC_UNUSED static gboolean 700s # _g_value_equal (const GValue *a, const GValue *b) 700s # { 700s # gboolean ret = FALSE; 700s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 700s # switch (G_VALUE_TYPE (a)) 700s # { 700s # case G_TYPE_BOOLEAN: 700s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 700s # break; 700s # case G_TYPE_UCHAR: 700s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 700s # break; 700s # case G_TYPE_INT: 700s # ret = (g_value_get_int (a) == g_value_get_int (b)); 700s # break; 700s # case G_TYPE_UINT: 700s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 700s # break; 700s # case G_TYPE_INT64: 700s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 700s # break; 700s # case G_TYPE_UINT64: 700s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 700s # break; 700s # case G_TYPE_DOUBLE: 700s # { 700s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 700s # gdouble da = g_value_get_double (a); 700s # gdouble db = g_value_get_double (b); 700s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 700s # } 700s # break; 700s # case G_TYPE_STRING: 700s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 700s # break; 700s # case G_TYPE_VARIANT: 700s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 700s # break; 700s # default: 700s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 700s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 700s # else 700s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 700s # break; 700s # } 700s # return ret; 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.SignalingIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectSignalingIface 700s # * @title: OrgProjectSignalingIface 700s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.SignalingIface ---- */ 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SimpleSignal", 700s # NULL, 700s # NULL 700s # }, 700s # "simple-signal" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 700s # { 700s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.SignalingIface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-signaling-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_signaling_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_signaling_iface_signal_marshal_simple_signal ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VOID (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectSignalingIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.SignalingIface. 700s # */ 700s # 700s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectSignalingIface::simple-signal: 700s # * @object: A #OrgProjectSignalingIface. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 700s # g_signal_new ("simple-signal", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 700s # NULL, 700s # NULL, 700s # org_project_signaling_iface_signal_marshal_simple_signal, 700s # G_TYPE_NONE, 700s # 0); 700s # 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_emit_simple_signal: 700s # * @object: A #OrgProjectSignalingIface. 700s # * 700s # * Emits the "SimpleSignal" D-Bus signal. 700s # */ 700s # void 700s # org_project_signaling_iface_emit_simple_signal ( 700s # OrgProjectSignalingIface *object) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxy: 700s # * 700s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_signaling_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeleton: 700s # * 700s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectSignalingIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectSignalingIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_signaling_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_signaling_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_signaling_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 700s # { 700s # _org_project_signaling_iface_skeleton_handle_method_call, 700s # _org_project_signaling_iface_skeleton_handle_get_property, 700s # _org_project_signaling_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_signaling_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_signaling_iface_on_signal_simple_signal ( 700s # OrgProjectSignalingIface *object) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_signaling_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 700s # { 700s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 700s # } 700s # 700s # /** 700s # * org_project_signaling_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectSignalingIface * 700s # org_project_signaling_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ 700s # * Code for interface org.project.OtherSignalingIface 700s # * ------------------------------------------------------------------------ 700s # */ 700s # 700s # /** 700s # * SECTION:OrgProjectOtherSignalingIface 700s # * @title: OrgProjectOtherSignalingIface 700s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 700s # * 700s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 700s # */ 700s # 700s # enum 700s # { 700s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 700s # }; 700s # 700s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 700s # 700s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 700s # 700s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 700s # { 700s # { 700s # -1, 700s # (gchar *) "SimpleSignal", 700s # NULL, 700s # NULL 700s # }, 700s # "simple-signal" 700s # }; 700s # 700s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 700s # { 700s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 700s # NULL 700s # }; 700s # 700s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 700s # { 700s # { 700s # -1, 700s # (gchar *) "org.project.OtherSignalingIface", 700s # NULL, 700s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 700s # NULL, 700s # NULL 700s # }, 700s # "org-project-other-signaling-iface", 700s # }; 700s # 700s # 700s # /** 700s # * org_project_other_signaling_iface_interface_info: 700s # * 700s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 700s # * 700s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 700s # */ 700s # GDBusInterfaceInfo * 700s # org_project_other_signaling_iface_interface_info (void) 700s # { 700s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_override_properties: 700s # * @klass: The class structure for a #GObject derived class. 700s # * @property_id_begin: The property id to assign to the first overridden property. 700s # * 700s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 700s # * The properties are overridden in the order they are defined. 700s # * 700s # * Returns: The last property id. 700s # */ 700s # guint 700s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 700s # { 700s # return property_id_begin - 1; 700s # } 700s # 700s # 700s # inline static void 700s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 700s # GClosure *closure, 700s # GValue *return_value, 700s # unsigned int n_param_values, 700s # const GValue *param_values, 700s # void *invocation_hint, 700s # void *marshal_data) 700s # { 700s # g_cclosure_marshal_VOID__VOID (closure, 700s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 700s # } 700s # 700s # 700s # /** 700s # * OrgProjectOtherSignalingIface: 700s # * 700s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherSignalingIfaceIface: 700s # * @parent_iface: The parent interface. 700s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 700s # * 700s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 700s # */ 700s # 700s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 700s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 700s # 700s # static void 700s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 700s # { 700s # /* GObject signals for received D-Bus signals: */ 700s # /** 700s # * OrgProjectOtherSignalingIface::simple-signal: 700s # * @object: A #OrgProjectOtherSignalingIface. 700s # * 700s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 700s # * 700s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 700s # */ 700s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 700s # g_signal_new ("simple-signal", 700s # G_TYPE_FROM_INTERFACE (iface), 700s # G_SIGNAL_RUN_LAST, 700s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 700s # NULL, 700s # NULL, 700s # org_project_other_signaling_iface_signal_marshal_simple_signal, 700s # G_TYPE_NONE, 700s # 0); 700s # 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_emit_simple_signal: 700s # * @object: A #OrgProjectOtherSignalingIface. 700s # * 700s # * Emits the "SimpleSignal" D-Bus signal. 700s # */ 700s # void 700s # org_project_other_signaling_iface_emit_simple_signal ( 700s # OrgProjectOtherSignalingIface *object) 700s # { 700s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 700s # } 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherSignalingIfaceProxy: 700s # * 700s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherSignalingIfaceProxyClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 700s # */ 700s # 700s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 700s # { 700s # GData *qdata; 700s # }; 700s # 700s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 700s # { 700s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 700s # g_datalist_clear (&proxy->priv->qdata); 700s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 700s # guint prop_id G_GNUC_UNUSED, 700s # const GValue *value G_GNUC_UNUSED, 700s # GParamSpec *pspec G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 700s # const gchar *sender_name G_GNUC_UNUSED, 700s # const gchar *signal_name, 700s # GVariant *parameters) 700s # { 700s # _ExtendedGDBusSignalInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # gsize n; 700s # guint signal_id; 700s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 700s # if (info == NULL) 700s # return; 700s # num_params = g_variant_n_children (parameters); 700s # paramv = g_new0 (GValue, num_params + 1); 700s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[0], proxy); 700s # g_variant_iter_init (&iter, parameters); 700s # n = 1; 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 700s # g_signal_emitv (paramv, signal_id, 0, NULL); 700s # for (n = 0; n < num_params + 1; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 700s # GVariant *changed_properties, 700s # const gchar *const *invalidated_properties) 700s # { 700s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 700s # guint n; 700s # const gchar *key; 700s # GVariantIter *iter; 700s # _ExtendedGDBusPropertyInfo *info; 700s # g_variant_get (changed_properties, "a{sv}", &iter); 700s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 700s # g_datalist_remove_data (&proxy->priv->qdata, key); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # g_variant_iter_free (iter); 700s # for (n = 0; invalidated_properties[n] != NULL; n++) 700s # { 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 700s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 700s # if (info != NULL) 700s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 700s # } 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 700s # #else 700s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 700s # #endif 700s # 700s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusProxyClass *proxy_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 700s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 700s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 700s # 700s # proxy_class = G_DBUS_PROXY_CLASS (klass); 700s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 700s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_signaling_iface_proxy_new ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherSignalingIface * 700s # org_project_other_signaling_iface_proxy_new_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new_sync: 700s # * @connection: A #GDBusConnection. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherSignalingIface * 700s # org_project_other_signaling_iface_proxy_new_sync ( 700s # GDBusConnection *connection, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new_for_bus: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 700s # * @user_data: User data to pass to @callback. 700s # * 700s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 700s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 700s # * 700s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 700s # */ 700s # void 700s # org_project_other_signaling_iface_proxy_new_for_bus ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GAsyncReadyCallback callback, 700s # gpointer user_data) 700s # { 700s # 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); 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 700s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 700s # * @error: Return location for error or %NULL 700s # * 700s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherSignalingIface * 700s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 700s # GAsyncResult *res, 700s # GError **error) 700s # { 700s # GObject *ret; 700s # GObject *source_object; 700s # source_object = g_async_result_get_source_object (res); 700s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 700s # g_object_unref (source_object); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 700s # * @bus_type: A #GBusType. 700s # * @flags: Flags from the #GDBusProxyFlags enumeration. 700s # * @name: A bus name (well-known or unique). 700s # * @object_path: An object path. 700s # * @cancellable: (nullable): A #GCancellable or %NULL. 700s # * @error: Return location for error or %NULL 700s # * 700s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 700s # * 700s # * The calling thread is blocked until a reply is received. 700s # * 700s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 700s # */ 700s # OrgProjectOtherSignalingIface * 700s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 700s # GBusType bus_type, 700s # GDBusProxyFlags flags, 700s # const gchar *name, 700s # const gchar *object_path, 700s # GCancellable *cancellable, 700s # GError **error) 700s # { 700s # GInitable *ret; 700s # 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); 700s # if (ret != NULL) 700s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 700s # else 700s # return NULL; 700s # } 700s # 700s # 700s # /* ------------------------------------------------------------------------ */ 700s # 700s # /** 700s # * OrgProjectOtherSignalingIfaceSkeleton: 700s # * 700s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 700s # */ 700s # 700s # /** 700s # * OrgProjectOtherSignalingIfaceSkeletonClass: 700s # * @parent_class: The parent class. 700s # * 700s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 700s # */ 700s # 700s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 700s # { 700s # GValue *properties; 700s # GList *changed_properties; 700s # GSource *changed_properties_idle_source; 700s # GMainContext *context; 700s # GMutex lock; 700s # }; 700s # 700s # static void 700s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name, 700s # const gchar *method_name, 700s # GVariant *parameters, 700s # GDBusMethodInvocation *invocation, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 700s # _ExtendedGDBusMethodInfo *info; 700s # GVariantIter iter; 700s # GVariant *child; 700s # GValue *paramv; 700s # gsize num_params; 700s # guint num_extra; 700s # gsize n; 700s # guint signal_id; 700s # GValue return_value = G_VALUE_INIT; 700s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 700s # g_assert (info != NULL); 700s # num_params = g_variant_n_children (parameters); 700s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 700s # n = 0; 700s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 700s # g_value_set_object (¶mv[n++], skeleton); 700s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 700s # g_value_set_object (¶mv[n++], invocation); 700s # if (info->pass_fdlist) 700s # { 700s # #ifdef G_OS_UNIX 700s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 700s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 700s # #else 700s # g_assert_not_reached (); 700s # #endif 700s # } 700s # g_variant_iter_init (&iter, parameters); 700s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 700s # { 700s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 700s # if (arg_info->use_gvariant) 700s # { 700s # g_value_init (¶mv[n], G_TYPE_VARIANT); 700s # g_value_set_variant (¶mv[n], child); 700s # n++; 700s # } 700s # else 700s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 700s # g_variant_unref (child); 700s # } 700s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 700s # g_value_init (&return_value, G_TYPE_BOOLEAN); 700s # g_signal_emitv (paramv, signal_id, 0, &return_value); 700s # if (!g_value_get_boolean (&return_value)) 700s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 700s # g_value_unset (&return_value); 700s # for (n = 0; n < num_params + num_extra; n++) 700s # g_value_unset (¶mv[n]); 700s # g_free (paramv); 700s # } 700s # 700s # static GVariant * 700s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # GVariant *ret; 700s # ret = NULL; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # g_value_init (&value, pspec->value_type); 700s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 700s # g_value_unset (&value); 700s # } 700s # return ret; 700s # } 700s # 700s # static gboolean 700s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 700s # GDBusConnection *connection G_GNUC_UNUSED, 700s # const gchar *sender G_GNUC_UNUSED, 700s # const gchar *object_path G_GNUC_UNUSED, 700s # const gchar *interface_name G_GNUC_UNUSED, 700s # const gchar *property_name, 700s # GVariant *variant, 700s # GError **error, 700s # gpointer user_data) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 700s # GValue value = G_VALUE_INIT; 700s # GParamSpec *pspec; 700s # _ExtendedGDBusPropertyInfo *info; 700s # gboolean ret; 700s # ret = FALSE; 700s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 700s # g_assert (info != NULL); 700s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 700s # if (pspec == NULL) 700s # { 700s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 700s # } 700s # else 700s # { 700s # if (info->use_gvariant) 700s # g_value_set_variant (&value, variant); 700s # else 700s # g_dbus_gvariant_to_gvalue (variant, &value); 700s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 700s # g_value_unset (&value); 700s # ret = TRUE; 700s # } 700s # return ret; 700s # } 700s # 700s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 700s # { 700s # _org_project_other_signaling_iface_skeleton_handle_method_call, 700s # _org_project_other_signaling_iface_skeleton_handle_get_property, 700s # _org_project_other_signaling_iface_skeleton_handle_set_property, 700s # {NULL} 700s # }; 700s # 700s # static GDBusInterfaceInfo * 700s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return org_project_other_signaling_iface_interface_info (); 700s # } 700s # 700s # static GDBusInterfaceVTable * 700s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 700s # { 700s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 700s # } 700s # 700s # static GVariant * 700s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 700s # 700s # GVariantBuilder builder; 700s # guint n; 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 700s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #else 700s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 700s # #endif 700s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 700s # goto out; 700s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 700s # { 700s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 700s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 700s # { 700s # GVariant *value; 700s # 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); 700s # if (value != NULL) 700s # { 700s # g_variant_take_ref (value); 700s # g_variant_builder_add (&builder, "{sv}", info->name, value); 700s # g_variant_unref (value); 700s # } 700s # } 700s # } 700s # out: 700s # return g_variant_builder_end (&builder); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 700s # { 700s # } 700s # 700s # static void 700s # _org_project_other_signaling_iface_on_signal_simple_signal ( 700s # OrgProjectOtherSignalingIface *object) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 700s # 700s # GList *connections, *l; 700s # GVariant *signal_variant; 700s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 700s # 700s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 700s # for (l = connections; l != NULL; l = l->next) 700s # { 700s # GDBusConnection *connection = l->data; 700s # g_dbus_connection_emit_signal (connection, 700s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 700s # signal_variant, NULL); 700s # } 700s # g_variant_unref (signal_variant); 700s # g_list_free_full (connections, g_object_unref); 700s # } 700s # 700s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 700s # 700s # #else 700s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 700s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 700s # 700s # #endif 700s # static void 700s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 700s # { 700s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 700s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 700s # if (skeleton->priv->changed_properties_idle_source != NULL) 700s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 700s # g_main_context_unref (skeleton->priv->context); 700s # g_mutex_clear (&skeleton->priv->lock); 700s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 700s # { 700s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 700s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 700s # #else 700s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 700s # #endif 700s # 700s # g_mutex_init (&skeleton->priv->lock); 700s # skeleton->priv->context = g_main_context_ref_thread_default (); 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 700s # { 700s # GObjectClass *gobject_class; 700s # GDBusInterfaceSkeletonClass *skeleton_class; 700s # 700s # gobject_class = G_OBJECT_CLASS (klass); 700s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 700s # 700s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 700s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 700s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 700s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 700s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 700s # 700s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 700s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 700s # #endif 700s # } 700s # 700s # static void 700s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 700s # { 700s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 700s # } 700s # 700s # /** 700s # * org_project_other_signaling_iface_skeleton_new: 700s # * 700s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 700s # * 700s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 700s # */ 700s # OrgProjectOtherSignalingIface * 700s # org_project_other_signaling_iface_skeleton_new (void) 700s # { 700s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 700s # } 700s # Error: 701s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpxg_1c5gn 701s # /tmp/tmpxg_1c5gn/tmprtl1ttyr.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmprtl1ttyr.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_b", 701s # (gchar *) "b", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalB", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-b" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__BOOLEAN (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-b: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_b: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 701s # g_signal_new ("single-arg-signal-b", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_BOOLEAN); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_b: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_b: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalB" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_b ( 701s # OrgProjectSignalingIface *object, 701s # gboolean arg_arg_b) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 701s # OrgProjectSignalingIface *object, 701s # gboolean arg_arg_b) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 701s # arg_arg_b)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpk_k_rzf3.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpk_k_rzf3.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_y", 701s # (gchar *) "y", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalY", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-y" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__UCHAR (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-y: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_y: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 701s # g_signal_new ("single-arg-signal-y", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_UCHAR); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_y: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_y: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalY" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_y ( 701s # OrgProjectSignalingIface *object, 701s # guchar arg_arg_y) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 701s # OrgProjectSignalingIface *object, 701s # guchar arg_arg_y) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 701s # arg_arg_y)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmp2e7oacew.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmp2e7oacew.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_n", 701s # (gchar *) "n", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalN", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-n" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__INT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-n: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_n: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 701s # g_signal_new ("single-arg-signal-n", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_INT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_n: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_n: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalN" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_n ( 701s # OrgProjectSignalingIface *object, 701s # gint16 arg_arg_n) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 701s # OrgProjectSignalingIface *object, 701s # gint16 arg_arg_n) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 701s # arg_arg_n)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpfebi9l8d.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpfebi9l8d.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_q", 701s # (gchar *) "q", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalQ", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-q" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__UINT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-q: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_q: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 701s # g_signal_new ("single-arg-signal-q", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_UINT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_q: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_q: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalQ" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_q ( 701s # OrgProjectSignalingIface *object, 701s # guint16 arg_arg_q) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 701s # OrgProjectSignalingIface *object, 701s # guint16 arg_arg_q) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 701s # arg_arg_q)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpovqh9zq6.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpovqh9zq6.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_i", 701s # (gchar *) "i", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalI", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-i" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__INT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-i: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_i: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 701s # g_signal_new ("single-arg-signal-i", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_INT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_i: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_i: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalI" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_i ( 701s # OrgProjectSignalingIface *object, 701s # gint arg_arg_i) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 701s # OrgProjectSignalingIface *object, 701s # gint arg_arg_i) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 701s # arg_arg_i)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpjl48d8a0.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpjl48d8a0.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_u", 701s # (gchar *) "u", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalU", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-u" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__UINT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-u: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_u: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 701s # g_signal_new ("single-arg-signal-u", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_UINT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_u: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_u: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalU" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_u ( 701s # OrgProjectSignalingIface *object, 701s # guint arg_arg_u) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 701s # OrgProjectSignalingIface *object, 701s # guint arg_arg_u) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 701s # arg_arg_u)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmplg7kxi9c.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmplg7kxi9c.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # static void 701s # _g_dbus_codegen_marshal_VOID__INT64 ( 701s # GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint G_GNUC_UNUSED, 701s # void *marshal_data) 701s # { 701s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 701s # (void *data1, 701s # gint64 arg_arg_x, 701s # void *data2); 701s # _GDbusCodegenMarshalVoid_Int64Func callback; 701s # GCClosure *cc = (GCClosure*) closure; 701s # void *data1, *data2; 701s # 701s # g_return_if_fail (n_param_values == 2); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # 701s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 701s # (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_int64 (param_values + 1), 701s # data2); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_x", 701s # (gchar *) "x", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalX", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-x" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-x: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_x: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 701s # g_signal_new ("single-arg-signal-x", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_INT64); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_x: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_x: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalX" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_x ( 701s # OrgProjectSignalingIface *object, 701s # gint64 arg_arg_x) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 701s # OrgProjectSignalingIface *object, 701s # gint64 arg_arg_x) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 701s # arg_arg_x)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmp0djwp1su.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmp0djwp1su.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # static void 701s # _g_dbus_codegen_marshal_VOID__UINT64 ( 701s # GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint G_GNUC_UNUSED, 701s # void *marshal_data) 701s # { 701s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 701s # (void *data1, 701s # guint64 arg_arg_t, 701s # void *data2); 701s # _GDbusCodegenMarshalVoid_Uint64Func callback; 701s # GCClosure *cc = (GCClosure*) closure; 701s # void *data1, *data2; 701s # 701s # g_return_if_fail (n_param_values == 2); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # 701s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 701s # (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_uint64 (param_values + 1), 701s # data2); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_t", 701s # (gchar *) "t", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalT", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-t" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-t: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_t: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 701s # g_signal_new ("single-arg-signal-t", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_UINT64); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_t: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_t: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalT" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_t ( 701s # OrgProjectSignalingIface *object, 701s # guint64 arg_arg_t) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 701s # OrgProjectSignalingIface *object, 701s # guint64 arg_arg_t) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 701s # arg_arg_t)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpfyjpc6j1.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpfyjpc6j1.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_d", 701s # (gchar *) "d", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalD", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-d" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__DOUBLE (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-d: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_d: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 701s # g_signal_new ("single-arg-signal-d", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_DOUBLE); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_d: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_d: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalD" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_d ( 701s # OrgProjectSignalingIface *object, 701s # gdouble arg_arg_d) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 701s # OrgProjectSignalingIface *object, 701s # gdouble arg_arg_d) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 701s # arg_arg_d)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpjtltj6zk.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpjtltj6zk.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_s", 701s # (gchar *) "s", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalS", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-s" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__STRING (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-s: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_s: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 701s # g_signal_new ("single-arg-signal-s", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRING); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_s: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_s: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalS" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_s ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_s) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_s) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 701s # arg_arg_s)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmplipu09je.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmplipu09je.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_o", 701s # (gchar *) "o", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalO", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-o" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__STRING (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-o: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_o: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 701s # g_signal_new ("single-arg-signal-o", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRING); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_o: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_o: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalO" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_o ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_o) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_o) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 701s # arg_arg_o)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmp_qpcetvv.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmp_qpcetvv.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_g", 701s # (gchar *) "g", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalG", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-g" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__STRING (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-g: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_g: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 701s # g_signal_new ("single-arg-signal-g", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRING); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_g: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_g: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalG" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_g ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_g) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_g) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 701s # arg_arg_g)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmplcoola_k.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmplcoola_k.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_h", 701s # (gchar *) "h", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalH", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-h" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VARIANT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-h: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_h: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 701s # g_signal_new ("single-arg-signal-h", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_VARIANT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_h: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_h: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalH" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_h ( 701s # OrgProjectSignalingIface *object, 701s # GVariant *arg_arg_h) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 701s # OrgProjectSignalingIface *object, 701s # GVariant *arg_arg_h) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 701s # arg_arg_h)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpxmbz460z.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpxmbz460z.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_ay", 701s # (gchar *) "ay", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalAy", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-ay" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__STRING (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-ay: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_ay: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 701s # g_signal_new ("single-arg-signal-ay", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRING); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_ay: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_ay: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalAy" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_ay ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_ay) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *arg_arg_ay) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 701s # arg_arg_ay)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmp7my3xfbv.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmp7my3xfbv.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_as", 701s # (gchar *) "as", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalAs", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-as" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__BOXED (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-as: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_as: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 701s # g_signal_new ("single-arg-signal-as", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRV); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_as: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_as: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalAs" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_as ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_as) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_as) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 701s # arg_arg_as)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpbqiggks6.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpbqiggks6.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_ao", 701s # (gchar *) "ao", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalAo", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-ao" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__BOXED (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-ao: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_ao: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 701s # g_signal_new ("single-arg-signal-ao", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRV); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_ao: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_ao: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalAo" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_ao ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_ao) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_ao) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 701s # arg_arg_ao)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpisgnv2zq.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpisgnv2zq.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_aay", 701s # (gchar *) "aay", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalAay", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-aay" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__BOXED (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-aay: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_aay: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 701s # g_signal_new ("single-arg-signal-aay", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_STRV); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_aay: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_aay: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalAay" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_aay ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_aay) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 701s # OrgProjectSignalingIface *object, 701s # const gchar *const *arg_arg_aay) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 701s # arg_arg_aay)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s # 701s # /tmp/tmpxg_1c5gn/tmpako2vzig.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxg_1c5gn/tmpako2vzig.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 701s # { 701s # { 701s # -1, 701s # (gchar *) "arg_asv", 701s # (gchar *) "a{sv}", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SingleArgSignalAsv", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 701s # NULL 701s # }, 701s # "single-arg-signal-asv" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VARIANT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::single-arg-signal-asv: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_asv: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 701s # g_signal_new ("single-arg-signal-asv", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 701s # G_TYPE_NONE, 701s # 1, G_TYPE_VARIANT); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_single_arg_signal_asv: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_arg_asv: Argument to pass with the signal. 701s # * 701s # * Emits the "SingleArgSignalAsv" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_single_arg_signal_asv ( 701s # OrgProjectSignalingIface *object, 701s # GVariant *arg_arg_asv) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 701s # OrgProjectSignalingIface *object, 701s # GVariant *arg_arg_asv) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 701s # arg_arg_asv)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpbakzw_d3 701s # /tmp/tmpbakzw_d3/tmpkge3m5wr.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbakzw_d3/tmpkge3m5wr.xml', '--output', '-', '--body'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifdef HAVE_CONFIG_H 701s # # include "config.h" 701s # #endif 701s # 701s # #include 701s # #ifdef G_OS_UNIX 701s # # include 701s # #endif 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # typedef struct 701s # { 701s # GDBusArgInfo parent_struct; 701s # gboolean use_gvariant; 701s # } _ExtendedGDBusArgInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusMethodInfo parent_struct; 701s # const gchar *signal_name; 701s # gboolean pass_fdlist; 701s # } _ExtendedGDBusMethodInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusSignalInfo parent_struct; 701s # const gchar *signal_name; 701s # } _ExtendedGDBusSignalInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusPropertyInfo parent_struct; 701s # const gchar *hyphen_name; 701s # guint use_gvariant : 1; 701s # guint emits_changed_signal : 1; 701s # } _ExtendedGDBusPropertyInfo; 701s # 701s # typedef struct 701s # { 701s # GDBusInterfaceInfo parent_struct; 701s # const gchar *hyphen_name; 701s # } _ExtendedGDBusInterfaceInfo; 701s # 701s # typedef struct 701s # { 701s # const _ExtendedGDBusPropertyInfo *info; 701s # guint prop_id; 701s # GValue orig_value; /* the value before the change */ 701s # } ChangedProperty; 701s # 701s # static void 701s # _changed_property_free (ChangedProperty *data) 701s # { 701s # g_value_unset (&data->orig_value); 701s # g_free (data); 701s # } 701s # 701s # static gboolean 701s # _g_strv_equal0 (gchar **a, gchar **b) 701s # { 701s # gboolean ret = FALSE; 701s # guint n; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # if (g_strv_length (a) != g_strv_length (b)) 701s # goto out; 701s # for (n = 0; a[n] != NULL; n++) 701s # if (g_strcmp0 (a[n], b[n]) != 0) 701s # goto out; 701s # ret = TRUE; 701s # out: 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _g_variant_equal0 (GVariant *a, GVariant *b) 701s # { 701s # gboolean ret = FALSE; 701s # if (a == NULL && b == NULL) 701s # { 701s # ret = TRUE; 701s # goto out; 701s # } 701s # if (a == NULL || b == NULL) 701s # goto out; 701s # ret = g_variant_equal (a, b); 701s # out: 701s # return ret; 701s # } 701s # 701s # G_GNUC_UNUSED static gboolean 701s # _g_value_equal (const GValue *a, const GValue *b) 701s # { 701s # gboolean ret = FALSE; 701s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 701s # switch (G_VALUE_TYPE (a)) 701s # { 701s # case G_TYPE_BOOLEAN: 701s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 701s # break; 701s # case G_TYPE_UCHAR: 701s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 701s # break; 701s # case G_TYPE_INT: 701s # ret = (g_value_get_int (a) == g_value_get_int (b)); 701s # break; 701s # case G_TYPE_UINT: 701s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 701s # break; 701s # case G_TYPE_INT64: 701s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 701s # break; 701s # case G_TYPE_UINT64: 701s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 701s # break; 701s # case G_TYPE_DOUBLE: 701s # { 701s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 701s # gdouble da = g_value_get_double (a); 701s # gdouble db = g_value_get_double (b); 701s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 701s # } 701s # break; 701s # case G_TYPE_STRING: 701s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 701s # break; 701s # case G_TYPE_VARIANT: 701s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 701s # break; 701s # default: 701s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 701s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 701s # else 701s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 701s # break; 701s # } 701s # return ret; 701s # } 701s # 701s # static void 701s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 701s # GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint G_GNUC_UNUSED, 701s # void *marshal_data) 701s # { 701s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 701s # (void *data1, 701s # gboolean arg_an_b, 701s # guchar arg_an_y, 701s # gint16 arg_an_n, 701s # guint16 arg_an_q, 701s # gint arg_an_i, 701s # guint arg_an_u, 701s # gint64 arg_an_x, 701s # guint64 arg_an_t, 701s # gdouble arg_an_d, 701s # const gchar *arg_an_s, 701s # const gchar *arg_an_o, 701s # const gchar *arg_an_g, 701s # GVariant *arg_an_h, 701s # const gchar *arg_an_ay, 701s # const gchar *const *arg_an_as, 701s # const gchar *const *arg_an_ao, 701s # const gchar *const *arg_an_aay, 701s # GVariant *arg_an_asv, 701s # void *data2); 701s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 701s # GCClosure *cc = (GCClosure*) closure; 701s # void *data1, *data2; 701s # 701s # g_return_if_fail (n_param_values == 19); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # 701s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 701s # (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_boolean (param_values + 1), 701s # g_marshal_value_peek_uchar (param_values + 2), 701s # g_marshal_value_peek_int (param_values + 3), 701s # g_marshal_value_peek_uint (param_values + 4), 701s # g_marshal_value_peek_int (param_values + 5), 701s # g_marshal_value_peek_uint (param_values + 6), 701s # g_marshal_value_peek_int64 (param_values + 7), 701s # g_marshal_value_peek_uint64 (param_values + 8), 701s # g_marshal_value_peek_double (param_values + 9), 701s # g_marshal_value_peek_string (param_values + 10), 701s # g_marshal_value_peek_string (param_values + 11), 701s # g_marshal_value_peek_string (param_values + 12), 701s # g_marshal_value_peek_variant (param_values + 13), 701s # g_marshal_value_peek_string (param_values + 14), 701s # g_marshal_value_peek_boxed (param_values + 15), 701s # g_marshal_value_peek_boxed (param_values + 16), 701s # g_marshal_value_peek_boxed (param_values + 17), 701s # g_marshal_value_peek_variant (param_values + 18), 701s # data2); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ 701s # * Code for interface org.project.SignalingIface 701s # * ------------------------------------------------------------------------ 701s # */ 701s # 701s # /** 701s # * SECTION:OrgProjectSignalingIface 701s # * @title: OrgProjectSignalingIface 701s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 701s # * 701s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 701s # */ 701s # 701s # enum 701s # { 701s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 701s # }; 701s # 701s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 701s # 701s # /* ---- Introspection data for org.project.SignalingIface ---- */ 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SimpleSignal", 701s # NULL, 701s # NULL 701s # }, 701s # "simple-signal" 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_b", 701s # (gchar *) "b", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_y", 701s # (gchar *) "y", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_n", 701s # (gchar *) "n", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_q", 701s # (gchar *) "q", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_i", 701s # (gchar *) "i", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_u", 701s # (gchar *) "u", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_x", 701s # (gchar *) "x", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_t", 701s # (gchar *) "t", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_d", 701s # (gchar *) "d", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_s", 701s # (gchar *) "s", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_o", 701s # (gchar *) "o", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_g", 701s # (gchar *) "g", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_h", 701s # (gchar *) "h", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_ay", 701s # (gchar *) "ay", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_as", 701s # (gchar *) "as", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_ao", 701s # (gchar *) "ao", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_aay", 701s # (gchar *) "aay", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 701s # { 701s # { 701s # -1, 701s # (gchar *) "an_asv", 701s # (gchar *) "a{sv}", 701s # NULL 701s # }, 701s # FALSE 701s # }; 701s # 701s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 701s # { 701s # { 701s # -1, 701s # (gchar *) "SignalWithManyArgs", 701s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 701s # NULL 701s # }, 701s # "signal-with-many-args" 701s # }; 701s # 701s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 701s # { 701s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 701s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 701s # NULL 701s # }; 701s # 701s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 701s # { 701s # { 701s # -1, 701s # (gchar *) "org.project.SignalingIface", 701s # NULL, 701s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 701s # NULL, 701s # NULL 701s # }, 701s # "org-project-signaling-iface", 701s # }; 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_interface_info: 701s # * 701s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 701s # * 701s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 701s # */ 701s # GDBusInterfaceInfo * 701s # org_project_signaling_iface_interface_info (void) 701s # { 701s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_override_properties: 701s # * @klass: The class structure for a #GObject derived class. 701s # * @property_id_begin: The property id to assign to the first overridden property. 701s # * 701s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 701s # * The properties are overridden in the order they are defined. 701s # * 701s # * Returns: The last property id. 701s # */ 701s # guint 701s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 701s # { 701s # return property_id_begin - 1; 701s # } 701s # 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_simple_signal ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # g_cclosure_marshal_VOID__VOID (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # inline static void 701s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 701s # GClosure *closure, 701s # GValue *return_value, 701s # unsigned int n_param_values, 701s # const GValue *param_values, 701s # void *invocation_hint, 701s # void *marshal_data) 701s # { 701s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 701s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 701s # } 701s # 701s # 701s # /** 701s # * OrgProjectSignalingIface: 701s # * 701s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceIface: 701s # * @parent_iface: The parent interface. 701s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 701s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 701s # * 701s # * Virtual table for the D-Bus interface org.project.SignalingIface. 701s # */ 701s # 701s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 701s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 701s # 701s # static void 701s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # /* GObject signals for received D-Bus signals: */ 701s # /** 701s # * OrgProjectSignalingIface::simple-signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 701s # g_signal_new ("simple-signal", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_simple_signal, 701s # G_TYPE_NONE, 701s # 0); 701s # 701s # /** 701s # * OrgProjectSignalingIface::signal-with-many-args: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_an_b: Argument. 701s # * @arg_an_y: Argument. 701s # * @arg_an_n: Argument. 701s # * @arg_an_q: Argument. 701s # * @arg_an_i: Argument. 701s # * @arg_an_u: Argument. 701s # * @arg_an_x: Argument. 701s # * @arg_an_t: Argument. 701s # * @arg_an_d: Argument. 701s # * @arg_an_s: Argument. 701s # * @arg_an_o: Argument. 701s # * @arg_an_g: Argument. 701s # * @arg_an_h: Argument. 701s # * @arg_an_ay: Argument. 701s # * @arg_an_as: Argument. 701s # * @arg_an_ao: Argument. 701s # * @arg_an_aay: Argument. 701s # * @arg_an_asv: Argument. 701s # * 701s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 701s # * 701s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 701s # */ 701s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 701s # g_signal_new ("signal-with-many-args", 701s # G_TYPE_FROM_INTERFACE (iface), 701s # G_SIGNAL_RUN_LAST, 701s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 701s # NULL, 701s # NULL, 701s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 701s # G_TYPE_NONE, 701s # 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); 701s # 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_simple_signal: 701s # * @object: A #OrgProjectSignalingIface. 701s # * 701s # * Emits the "SimpleSignal" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_emit_signal_with_many_args: 701s # * @object: A #OrgProjectSignalingIface. 701s # * @arg_an_b: Argument to pass with the signal. 701s # * @arg_an_y: Argument to pass with the signal. 701s # * @arg_an_n: Argument to pass with the signal. 701s # * @arg_an_q: Argument to pass with the signal. 701s # * @arg_an_i: Argument to pass with the signal. 701s # * @arg_an_u: Argument to pass with the signal. 701s # * @arg_an_x: Argument to pass with the signal. 701s # * @arg_an_t: Argument to pass with the signal. 701s # * @arg_an_d: Argument to pass with the signal. 701s # * @arg_an_s: Argument to pass with the signal. 701s # * @arg_an_o: Argument to pass with the signal. 701s # * @arg_an_g: Argument to pass with the signal. 701s # * @arg_an_h: Argument to pass with the signal. 701s # * @arg_an_ay: Argument to pass with the signal. 701s # * @arg_an_as: Argument to pass with the signal. 701s # * @arg_an_ao: Argument to pass with the signal. 701s # * @arg_an_aay: Argument to pass with the signal. 701s # * @arg_an_asv: Argument to pass with the signal. 701s # * 701s # * Emits the "SignalWithManyArgs" D-Bus signal. 701s # */ 701s # void 701s # org_project_signaling_iface_emit_signal_with_many_args ( 701s # OrgProjectSignalingIface *object, 701s # gboolean arg_an_b, 701s # guchar arg_an_y, 701s # gint16 arg_an_n, 701s # guint16 arg_an_q, 701s # gint arg_an_i, 701s # guint arg_an_u, 701s # gint64 arg_an_x, 701s # guint64 arg_an_t, 701s # gdouble arg_an_d, 701s # const gchar *arg_an_s, 701s # const gchar *arg_an_o, 701s # const gchar *arg_an_g, 701s # GVariant *arg_an_h, 701s # const gchar *arg_an_ay, 701s # const gchar *const *arg_an_as, 701s # const gchar *const *arg_an_ao, 701s # const gchar *const *arg_an_aay, 701s # GVariant *arg_an_asv) 701s # { 701s # 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); 701s # } 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxy: 701s # * 701s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceProxyClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceProxy. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceProxyPrivate 701s # { 701s # GData *qdata; 701s # }; 701s # 701s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_proxy_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 701s # g_datalist_clear (&proxy->priv->qdata); 701s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 701s # guint prop_id G_GNUC_UNUSED, 701s # const GValue *value G_GNUC_UNUSED, 701s # GParamSpec *pspec G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 701s # const gchar *sender_name G_GNUC_UNUSED, 701s # const gchar *signal_name, 701s # GVariant *parameters) 701s # { 701s # _ExtendedGDBusSignalInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # gsize n; 701s # guint signal_id; 701s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 701s # if (info == NULL) 701s # return; 701s # num_params = g_variant_n_children (parameters); 701s # paramv = g_new0 (GValue, num_params + 1); 701s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[0], proxy); 701s # g_variant_iter_init (&iter, parameters); 701s # n = 1; 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_signal_emitv (paramv, signal_id, 0, NULL); 701s # for (n = 0; n < num_params + 1; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 701s # GVariant *changed_properties, 701s # const gchar *const *invalidated_properties) 701s # { 701s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 701s # guint n; 701s # const gchar *key; 701s # GVariantIter *iter; 701s # _ExtendedGDBusPropertyInfo *info; 701s # g_variant_get (changed_properties, "a{sv}", &iter); 701s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 701s # g_datalist_remove_data (&proxy->priv->qdata, key); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # g_variant_iter_free (iter); 701s # for (n = 0; invalidated_properties[n] != NULL; n++) 701s # { 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 701s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 701s # if (info != NULL) 701s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 701s # } 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 701s # #else 701s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 701s # #endif 701s # 701s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusProxyClass *proxy_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 701s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 701s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 701s # 701s # proxy_class = G_DBUS_PROXY_CLASS (klass); 701s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 701s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_sync: 701s # * @connection: A #GDBusConnection. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_sync ( 701s # GDBusConnection *connection, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 701s # * @user_data: User data to pass to @callback. 701s # * 701s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 701s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 701s # */ 701s # void 701s # org_project_signaling_iface_proxy_new_for_bus ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GAsyncReadyCallback callback, 701s # gpointer user_data) 701s # { 701s # 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); 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_finish: 701s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 701s # * @error: Return location for error or %NULL 701s # * 701s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_finish ( 701s # GAsyncResult *res, 701s # GError **error) 701s # { 701s # GObject *ret; 701s # GObject *source_object; 701s # source_object = g_async_result_get_source_object (res); 701s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 701s # g_object_unref (source_object); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_proxy_new_for_bus_sync: 701s # * @bus_type: A #GBusType. 701s # * @flags: Flags from the #GDBusProxyFlags enumeration. 701s # * @name: A bus name (well-known or unique). 701s # * @object_path: An object path. 701s # * @cancellable: (nullable): A #GCancellable or %NULL. 701s # * @error: Return location for error or %NULL 701s # * 701s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 701s # * 701s # * The calling thread is blocked until a reply is received. 701s # * 701s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_proxy_new_for_bus_sync ( 701s # GBusType bus_type, 701s # GDBusProxyFlags flags, 701s # const gchar *name, 701s # const gchar *object_path, 701s # GCancellable *cancellable, 701s # GError **error) 701s # { 701s # GInitable *ret; 701s # 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); 701s # if (ret != NULL) 701s # return ORG_PROJECT_SIGNALING_IFACE (ret); 701s # else 701s # return NULL; 701s # } 701s # 701s # 701s # /* ------------------------------------------------------------------------ */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeleton: 701s # * 701s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 701s # */ 701s # 701s # /** 701s # * OrgProjectSignalingIfaceSkeletonClass: 701s # * @parent_class: The parent class. 701s # * 701s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 701s # */ 701s # 701s # struct _OrgProjectSignalingIfaceSkeletonPrivate 701s # { 701s # GValue *properties; 701s # GList *changed_properties; 701s # GSource *changed_properties_idle_source; 701s # GMainContext *context; 701s # GMutex lock; 701s # }; 701s # 701s # static void 701s # _org_project_signaling_iface_skeleton_handle_method_call ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name, 701s # const gchar *method_name, 701s # GVariant *parameters, 701s # GDBusMethodInvocation *invocation, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # _ExtendedGDBusMethodInfo *info; 701s # GVariantIter iter; 701s # GVariant *child; 701s # GValue *paramv; 701s # gsize num_params; 701s # guint num_extra; 701s # gsize n; 701s # guint signal_id; 701s # GValue return_value = G_VALUE_INIT; 701s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 701s # g_assert (info != NULL); 701s # num_params = g_variant_n_children (parameters); 701s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 701s # n = 0; 701s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_set_object (¶mv[n++], skeleton); 701s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 701s # g_value_set_object (¶mv[n++], invocation); 701s # if (info->pass_fdlist) 701s # { 701s # #ifdef G_OS_UNIX 701s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 701s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 701s # #else 701s # g_assert_not_reached (); 701s # #endif 701s # } 701s # g_variant_iter_init (&iter, parameters); 701s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 701s # { 701s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 701s # if (arg_info->use_gvariant) 701s # { 701s # g_value_init (¶mv[n], G_TYPE_VARIANT); 701s # g_value_set_variant (¶mv[n], child); 701s # n++; 701s # } 701s # else 701s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 701s # g_variant_unref (child); 701s # } 701s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 701s # g_value_init (&return_value, G_TYPE_BOOLEAN); 701s # g_signal_emitv (paramv, signal_id, 0, &return_value); 701s # if (!g_value_get_boolean (&return_value)) 701s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 701s # g_value_unset (&return_value); 701s # for (n = 0; n < num_params + num_extra; n++) 701s # g_value_unset (¶mv[n]); 701s # g_free (paramv); 701s # } 701s # 701s # static GVariant * 701s # _org_project_signaling_iface_skeleton_handle_get_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # GVariant *ret; 701s # ret = NULL; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # g_value_init (&value, pspec->value_type); 701s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 701s # g_value_unset (&value); 701s # } 701s # return ret; 701s # } 701s # 701s # static gboolean 701s # _org_project_signaling_iface_skeleton_handle_set_property ( 701s # GDBusConnection *connection G_GNUC_UNUSED, 701s # const gchar *sender G_GNUC_UNUSED, 701s # const gchar *object_path G_GNUC_UNUSED, 701s # const gchar *interface_name G_GNUC_UNUSED, 701s # const gchar *property_name, 701s # GVariant *variant, 701s # GError **error, 701s # gpointer user_data) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 701s # GValue value = G_VALUE_INIT; 701s # GParamSpec *pspec; 701s # _ExtendedGDBusPropertyInfo *info; 701s # gboolean ret; 701s # ret = FALSE; 701s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 701s # g_assert (info != NULL); 701s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 701s # if (pspec == NULL) 701s # { 701s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 701s # } 701s # else 701s # { 701s # if (info->use_gvariant) 701s # g_value_set_variant (&value, variant); 701s # else 701s # g_dbus_gvariant_to_gvalue (variant, &value); 701s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 701s # g_value_unset (&value); 701s # ret = TRUE; 701s # } 701s # return ret; 701s # } 701s # 701s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 701s # { 701s # _org_project_signaling_iface_skeleton_handle_method_call, 701s # _org_project_signaling_iface_skeleton_handle_get_property, 701s # _org_project_signaling_iface_skeleton_handle_set_property, 701s # {NULL} 701s # }; 701s # 701s # static GDBusInterfaceInfo * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return org_project_signaling_iface_interface_info (); 701s # } 701s # 701s # static GDBusInterfaceVTable * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 701s # { 701s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 701s # } 701s # 701s # static GVariant * 701s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 701s # 701s # GVariantBuilder builder; 701s # guint n; 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 701s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #else 701s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 701s # #endif 701s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 701s # goto out; 701s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 701s # { 701s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 701s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 701s # { 701s # GVariant *value; 701s # 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); 701s # if (value != NULL) 701s # { 701s # g_variant_take_ref (value); 701s # g_variant_builder_add (&builder, "{sv}", info->name, value); 701s # g_variant_unref (value); 701s # } 701s # } 701s # } 701s # out: 701s # return g_variant_builder_end (&builder); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 701s # { 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_simple_signal ( 701s # OrgProjectSignalingIface *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void 701s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 701s # OrgProjectSignalingIface *object, 701s # gboolean arg_an_b, 701s # guchar arg_an_y, 701s # gint16 arg_an_n, 701s # guint16 arg_an_q, 701s # gint arg_an_i, 701s # guint arg_an_u, 701s # gint64 arg_an_x, 701s # guint64 arg_an_t, 701s # gdouble arg_an_d, 701s # const gchar *arg_an_s, 701s # const gchar *arg_an_o, 701s # const gchar *arg_an_g, 701s # GVariant *arg_an_h, 701s # const gchar *arg_an_ay, 701s # const gchar *const *arg_an_as, 701s # const gchar *const *arg_an_ao, 701s # const gchar *const *arg_an_aay, 701s # GVariant *arg_an_asv) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # 701s # GList *connections, *l; 701s # GVariant *signal_variant; 701s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 701s # 701s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 701s # arg_an_b, 701s # arg_an_y, 701s # arg_an_n, 701s # arg_an_q, 701s # arg_an_i, 701s # arg_an_u, 701s # arg_an_x, 701s # arg_an_t, 701s # arg_an_d, 701s # arg_an_s, 701s # arg_an_o, 701s # arg_an_g, 701s # arg_an_h, 701s # arg_an_ay, 701s # arg_an_as, 701s # arg_an_ao, 701s # arg_an_aay, 701s # arg_an_asv)); 701s # for (l = connections; l != NULL; l = l->next) 701s # { 701s # GDBusConnection *connection = l->data; 701s # g_dbus_connection_emit_signal (connection, 701s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 701s # signal_variant, NULL); 701s # } 701s # g_variant_unref (signal_variant); 701s # g_list_free_full (connections, g_object_unref); 701s # } 701s # 701s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #else 701s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 701s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 701s # 701s # #endif 701s # static void 701s # org_project_signaling_iface_skeleton_finalize (GObject *object) 701s # { 701s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 701s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 701s # if (skeleton->priv->changed_properties_idle_source != NULL) 701s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 701s # g_main_context_unref (skeleton->priv->context); 701s # g_mutex_clear (&skeleton->priv->lock); 701s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 701s # { 701s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 701s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 701s # #else 701s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 701s # #endif 701s # 701s # g_mutex_init (&skeleton->priv->lock); 701s # skeleton->priv->context = g_main_context_ref_thread_default (); 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 701s # { 701s # GObjectClass *gobject_class; 701s # GDBusInterfaceSkeletonClass *skeleton_class; 701s # 701s # gobject_class = G_OBJECT_CLASS (klass); 701s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 701s # 701s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 701s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 701s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 701s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 701s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 701s # 701s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 701s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 701s # #endif 701s # } 701s # 701s # static void 701s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 701s # { 701s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 701s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 701s # } 701s # 701s # /** 701s # * org_project_signaling_iface_skeleton_new: 701s # * 701s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 701s # * 701s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 701s # */ 701s # OrgProjectSignalingIface * 701s # org_project_signaling_iface_skeleton_new (void) 701s # { 701s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 701s # } 701s # Error: 701s ok 25 __main__.TestCodegen.test_generate_valid_docbook 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmp1hl8c4d5 701s # /tmp/tmp1hl8c4d5/tmptkplf943.xml: 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1hl8c4d5/tmptkplf943.xml', '--generate-docbook', 'test'] 701s # Return code: 0 701s # Output: 701s # 701s # Error: 701s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmptx3ztb60 701s # /tmp/tmptx3ztb60/tmpa6bxt3ft.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx3ztb60/tmpa6bxt3ft.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 701s # Return code: 1 701s # Output: 701s # 701s # Error: 701s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 701s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpd0vqrfxz 701s # /tmp/tmpd0vqrfxz/tmpwnd2_4tb.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd0vqrfxz/tmpwnd2_4tb.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifndef __STDOUT__ 701s # #define __STDOUT__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __STDOUT__ */ 701s # Error: 701s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmptv715ll4 701s # /tmp/tmptv715ll4/tmpjhdl2n30.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptv715ll4/tmpjhdl2n30.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 701s # Return code: 1 701s # Output: 701s # 701s # Error: 701s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 701s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmp4439jtcc 701s # /tmp/tmp4439jtcc/tmpuryut0oo.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4439jtcc/tmpuryut0oo.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifndef __STDOUT__ 701s # #define __STDOUT__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __STDOUT__ */ 701s # Error: 701s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmp9o2emkiw 701s # /tmp/tmp9o2emkiw/tmp3o_56tgw.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9o2emkiw/tmp3o_56tgw.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifndef __STDOUT__ 701s # #define __STDOUT__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __STDOUT__ */ 701s # Error: 701s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpmlmzf6vo 701s # /tmp/tmpmlmzf6vo/tmpreqe53j4.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmlmzf6vo/tmpreqe53j4.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 701s # Return code: 1 701s # Output: 701s # 701s # Error: 701s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 701s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpa0ra8v91 701s # /tmp/tmpa0ra8v91/tmpq_p8wm2a.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa0ra8v91/tmpq_p8wm2a.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifndef __STDOUT__ 701s # #define __STDOUT__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __STDOUT__ */ 701s # Error: 701s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpqfs9ek1x 701s # /tmp/tmpqfs9ek1x/tmpfgtnrz9x.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqfs9ek1x/tmpfgtnrz9x.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 701s # Return code: 1 701s # Output: 701s # 701s # Error: 701s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 701s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpribmm4i5 701s # /tmp/tmpribmm4i5/tmpd839pkkz.xml: 701s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpribmm4i5/tmpd839pkkz.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 701s # Return code: 0 701s # Output: 701s # /* 701s # * This file is generated by gdbus-codegen, do not modify it. 701s # * 701s # * The license of this code is the same as for the D-Bus interface description 701s # * it was derived from. Note that it links to GLib, so must comply with the 701s # * LGPL linking clauses. 701s # */ 701s # 701s # #ifndef __STDOUT__ 701s # #define __STDOUT__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __STDOUT__ */ 701s # Error: 701s ok 35 __main__.TestCodegen.test_help 701s # gdbus-codegen: /usr/bin/gdbus-codegen 701s # tmpdir: /tmp/tmpbd8msxfp 701s # Running: ['/usr/bin/gdbus-codegen', '--help'] 701s # Return code: 0 701s # Output: 701s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 701s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 701s # [--c-generate-autocleanup {none,objects,all}] 701s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 701s # [--generate-rst OUTFILES] [--pragma-once] 701s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 701s # [--glib-min-required VERSION] 701s # [--glib-max-allowed VERSION] 701s # [--symbol-decorator SYMBOL_DECORATOR] 701s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 701s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 701s # [--generate-c-code OUTFILES | --header | --body | 701s # --interface-info-header | --interface-info-body] 701s # [--output FILE | --output-directory OUTDIR] 701s # FILE [FILE ...] 701s # 701s # D-Bus code and documentation generator 701s # 701s # positional arguments: 701s # FILE D-Bus introspection XML file 701s # 701s # options: 701s # -h, --help show this help message and exit 701s # --interface-prefix PREFIX 701s # String to strip from D-Bus interface names for code 701s # and docs 701s # --c-namespace NAMESPACE 701s # The namespace to use for generated C code 701s # --c-generate-object-manager 701s # Generate a GDBusObjectManagerClient subclass when 701s # generating C code 701s # --c-generate-autocleanup {none,objects,all} 701s # Generate autocleanup support 701s # --generate-docbook OUTFILES 701s # Generate Docbook in OUTFILES-org.Project.IFace.xml 701s # --generate-md OUTFILES 701s # Generate Markdown in OUTFILES-org.Project.IFace.md 701s # --generate-rst OUTFILES 701s # Generate reStructuredText in OUTFILES- 701s # org.Project.IFace.rst 701s # --pragma-once Use "pragma once" as the inclusion guard 701s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 701s # Add annotation (may be used several times) 701s # --glib-min-required VERSION 701s # Minimum version of GLib to be supported by the 701s # outputted code (default: 2.30) 701s # --glib-max-allowed VERSION 701s # Maximum version of GLib to be used by the outputted 701s # code (default: current GLib version) 701s # --symbol-decorator SYMBOL_DECORATOR 701s # Macro used to decorate a symbol in the outputted 701s # header, possibly to export symbols 701s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 701s # Additional header required for decorator specified by 701s # --symbol-decorator 701s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 701s # Additional define required for decorator specified by 701s # --symbol-decorator 701s # --generate-c-code OUTFILES 701s # Generate C code in OUTFILES.[ch] 701s # --header Generate C headers 701s # --body Generate C code 701s # --interface-info-header 701s # Generate GDBusInterfaceInfo C header 701s # --interface-info-body 701s # Generate GDBusInterfaceInfo C code 701s # --output FILE Write output into the specified file 701s # --output-directory OUTDIR 701s # Location to output generated files 701s # Error: 702s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 702s # gdbus-codegen: /usr/bin/gdbus-codegen 702s # tmpdir: /tmp/tmpk8oijgli 702s # /tmp/tmpk8oijgli/tmphi76eq1y.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk8oijgli/tmphi76eq1y.xml', '--generate-rst', 'test'] 702s # Return code: 0 702s # Output: 702s # 702s # Error: 702s # 702s # /tmp/tmpk8oijgli/tmp4hjzmztc.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk8oijgli/tmp4hjzmztc.xml', '--generate-md', 'test'] 702s # Return code: 0 702s # Output: 702s # 702s # Error: 702s # 702s # /tmp/tmpk8oijgli/tmp3j9hkhpe.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk8oijgli/tmp3j9hkhpe.xml', '--generate-docbook', 'test'] 702s # Return code: 0 702s # Output: 702s # 702s # Error: 702s ok 37 __main__.TestCodegen.test_no_args 702s # gdbus-codegen: /usr/bin/gdbus-codegen 702s # tmpdir: /tmp/tmpjo1gn4ln 702s # Running: ['/usr/bin/gdbus-codegen'] 702s # Return code: 2 702s # Output: 702s # 702s # Error: 702s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 702s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 702s # [--c-generate-autocleanup {none,objects,all}] 702s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 702s # [--generate-rst OUTFILES] [--pragma-once] 702s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 702s # [--glib-min-required VERSION] 702s # [--glib-max-allowed VERSION] 702s # [--symbol-decorator SYMBOL_DECORATOR] 702s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 702s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 702s # [--generate-c-code OUTFILES | --header | --body | 702s # --interface-info-header | --interface-info-body] 702s # [--output FILE | --output-directory OUTDIR] 702s # FILE [FILE ...] 702s # gdbus-codegen: error: the following arguments are required: FILE 702s ok 38 __main__.TestCodegen.test_reproducible 702s # gdbus-codegen: /usr/bin/gdbus-codegen 702s # tmpdir: /tmp/tmpq8jrelmd 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq8jrelmd/tmpb1szj2kn1.xml', '/tmp/tmpq8jrelmd/tmpq6n2ht6g2.xml', '--output', '-', '--header'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifndef __STDOUT__ 702s # #define __STDOUT__ 702s # 702s # #include 702s # 702s # G_BEGIN_DECLS 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for com.acme.Coyote */ 702s # 702s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 702s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 702s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 702s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 702s # 702s # struct _ComAcmeCoyote; 702s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 702s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 702s # 702s # struct _ComAcmeCoyoteIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # 702s # 702s # gboolean (*handle_attack) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # gboolean (*handle_run) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # gboolean (*handle_sleep) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # const gchar * (*get_mood) (ComAcmeCoyote *object); 702s # 702s # void (*surprised) ( 702s # ComAcmeCoyote *object); 702s # 702s # }; 702s # 702s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 702s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void com_acme_coyote_complete_run ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # void com_acme_coyote_complete_sleep ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # void com_acme_coyote_complete_attack ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus signal emissions functions: */ 702s # void com_acme_coyote_emit_surprised ( 702s # ComAcmeCoyote *object); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void com_acme_coyote_call_run ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_run_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_run_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_call_sleep ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_sleep_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_sleep_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_call_attack ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_attack_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_attack_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* D-Bus property accessors: */ 702s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 702s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 702s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 702s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 702s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 702s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 702s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 702s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 702s # 702s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 702s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 702s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 702s # 702s # struct _ComAcmeCoyoteProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # ComAcmeCoyoteProxyPrivate *priv; 702s # }; 702s # 702s # struct _ComAcmeCoyoteProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 702s # #endif 702s # 702s # void com_acme_coyote_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 702s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 702s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 702s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 702s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 702s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 702s # 702s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 702s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 702s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 702s # 702s # struct _ComAcmeCoyoteSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # ComAcmeCoyoteSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _ComAcmeCoyoteSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 702s # #endif 702s # 702s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for org.project.Bar.Frobnicator */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 702s # 702s # struct _OrgProjectBarFrobnicator; 702s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 702s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 702s # 702s # struct _OrgProjectBarFrobnicatorIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # gboolean (*handle_random_method) ( 702s # OrgProjectBarFrobnicator *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # }; 702s # 702s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 702s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void org_project_bar_frobnicator_complete_random_method ( 702s # OrgProjectBarFrobnicator *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void org_project_bar_frobnicator_call_random_method ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 702s # 702s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 702s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 702s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 702s # 702s # struct _OrgProjectBarFrobnicatorProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # OrgProjectBarFrobnicatorProxyPrivate *priv; 702s # }; 702s # 702s # struct _OrgProjectBarFrobnicatorProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 702s # #endif 702s # 702s # void org_project_bar_frobnicator_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void org_project_bar_frobnicator_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 702s # 702s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 702s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 702s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 702s # 702s # struct _OrgProjectBarFrobnicatorSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _OrgProjectBarFrobnicatorSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 702s # #endif 702s # 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 702s # 702s # 702s # G_END_DECLS 702s # 702s # #endif /* __STDOUT__ */ 702s # Error: 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq8jrelmd/tmpq6n2ht6g2.xml', '/tmp/tmpq8jrelmd/tmpb1szj2kn1.xml', '--output', '-', '--header'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifndef __STDOUT__ 702s # #define __STDOUT__ 702s # 702s # #include 702s # 702s # G_BEGIN_DECLS 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for com.acme.Coyote */ 702s # 702s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 702s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 702s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 702s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 702s # 702s # struct _ComAcmeCoyote; 702s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 702s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 702s # 702s # struct _ComAcmeCoyoteIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # 702s # 702s # gboolean (*handle_attack) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # gboolean (*handle_run) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # gboolean (*handle_sleep) ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # const gchar * (*get_mood) (ComAcmeCoyote *object); 702s # 702s # void (*surprised) ( 702s # ComAcmeCoyote *object); 702s # 702s # }; 702s # 702s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 702s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void com_acme_coyote_complete_run ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # void com_acme_coyote_complete_sleep ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # void com_acme_coyote_complete_attack ( 702s # ComAcmeCoyote *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus signal emissions functions: */ 702s # void com_acme_coyote_emit_surprised ( 702s # ComAcmeCoyote *object); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void com_acme_coyote_call_run ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_run_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_run_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_call_sleep ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_sleep_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_sleep_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_call_attack ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean com_acme_coyote_call_attack_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean com_acme_coyote_call_attack_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* D-Bus property accessors: */ 702s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 702s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 702s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 702s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 702s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 702s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 702s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 702s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 702s # 702s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 702s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 702s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 702s # 702s # struct _ComAcmeCoyoteProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # ComAcmeCoyoteProxyPrivate *priv; 702s # }; 702s # 702s # struct _ComAcmeCoyoteProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 702s # #endif 702s # 702s # void com_acme_coyote_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void com_acme_coyote_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 702s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 702s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 702s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 702s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 702s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 702s # 702s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 702s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 702s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 702s # 702s # struct _ComAcmeCoyoteSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # ComAcmeCoyoteSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _ComAcmeCoyoteSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 702s # #endif 702s # 702s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for org.project.Bar.Frobnicator */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 702s # 702s # struct _OrgProjectBarFrobnicator; 702s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 702s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 702s # 702s # struct _OrgProjectBarFrobnicatorIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # gboolean (*handle_random_method) ( 702s # OrgProjectBarFrobnicator *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # }; 702s # 702s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 702s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void org_project_bar_frobnicator_complete_random_method ( 702s # OrgProjectBarFrobnicator *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void org_project_bar_frobnicator_call_random_method ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 702s # 702s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 702s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 702s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 702s # 702s # struct _OrgProjectBarFrobnicatorProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # OrgProjectBarFrobnicatorProxyPrivate *priv; 702s # }; 702s # 702s # struct _OrgProjectBarFrobnicatorProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 702s # #endif 702s # 702s # void org_project_bar_frobnicator_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void org_project_bar_frobnicator_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 702s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 702s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 702s # 702s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 702s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 702s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 702s # 702s # struct _OrgProjectBarFrobnicatorSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _OrgProjectBarFrobnicatorSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 702s # #endif 702s # 702s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 702s # 702s # 702s # G_END_DECLS 702s # 702s # #endif /* __STDOUT__ */ 702s # Error: 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq8jrelmd/tmpb1szj2kn1.xml', '/tmp/tmpq8jrelmd/tmpq6n2ht6g2.xml', '--output', '-', '--body'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifdef HAVE_CONFIG_H 702s # # include "config.h" 702s # #endif 702s # 702s # #include 702s # #ifdef G_OS_UNIX 702s # # include 702s # #endif 702s # 702s # #ifdef G_ENABLE_DEBUG 702s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 702s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 702s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 702s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 702s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 702s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 702s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 702s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 702s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 702s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 702s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 702s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 702s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 702s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 702s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 702s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 702s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 702s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 702s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 702s # #else /* !G_ENABLE_DEBUG */ 702s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 702s # * Do not access GValues directly in your code. Instead, use the 702s # * g_value_get_*() functions 702s # */ 702s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 702s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 702s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 702s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 702s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 702s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 702s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 702s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 702s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 702s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 702s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 702s # #endif /* !G_ENABLE_DEBUG */ 702s # 702s # typedef struct 702s # { 702s # GDBusArgInfo parent_struct; 702s # gboolean use_gvariant; 702s # } _ExtendedGDBusArgInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusMethodInfo parent_struct; 702s # const gchar *signal_name; 702s # gboolean pass_fdlist; 702s # } _ExtendedGDBusMethodInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusSignalInfo parent_struct; 702s # const gchar *signal_name; 702s # } _ExtendedGDBusSignalInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusPropertyInfo parent_struct; 702s # const gchar *hyphen_name; 702s # guint use_gvariant : 1; 702s # guint emits_changed_signal : 1; 702s # } _ExtendedGDBusPropertyInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusInterfaceInfo parent_struct; 702s # const gchar *hyphen_name; 702s # } _ExtendedGDBusInterfaceInfo; 702s # 702s # typedef struct 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # guint prop_id; 702s # GValue orig_value; /* the value before the change */ 702s # } ChangedProperty; 702s # 702s # static void 702s # _changed_property_free (ChangedProperty *data) 702s # { 702s # g_value_unset (&data->orig_value); 702s # g_free (data); 702s # } 702s # 702s # static gboolean 702s # _g_strv_equal0 (gchar **a, gchar **b) 702s # { 702s # gboolean ret = FALSE; 702s # guint n; 702s # if (a == NULL && b == NULL) 702s # { 702s # ret = TRUE; 702s # goto out; 702s # } 702s # if (a == NULL || b == NULL) 702s # goto out; 702s # if (g_strv_length (a) != g_strv_length (b)) 702s # goto out; 702s # for (n = 0; a[n] != NULL; n++) 702s # if (g_strcmp0 (a[n], b[n]) != 0) 702s # goto out; 702s # ret = TRUE; 702s # out: 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _g_variant_equal0 (GVariant *a, GVariant *b) 702s # { 702s # gboolean ret = FALSE; 702s # if (a == NULL && b == NULL) 702s # { 702s # ret = TRUE; 702s # goto out; 702s # } 702s # if (a == NULL || b == NULL) 702s # goto out; 702s # ret = g_variant_equal (a, b); 702s # out: 702s # return ret; 702s # } 702s # 702s # G_GNUC_UNUSED static gboolean 702s # _g_value_equal (const GValue *a, const GValue *b) 702s # { 702s # gboolean ret = FALSE; 702s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 702s # switch (G_VALUE_TYPE (a)) 702s # { 702s # case G_TYPE_BOOLEAN: 702s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 702s # break; 702s # case G_TYPE_UCHAR: 702s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 702s # break; 702s # case G_TYPE_INT: 702s # ret = (g_value_get_int (a) == g_value_get_int (b)); 702s # break; 702s # case G_TYPE_UINT: 702s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 702s # break; 702s # case G_TYPE_INT64: 702s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 702s # break; 702s # case G_TYPE_UINT64: 702s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 702s # break; 702s # case G_TYPE_DOUBLE: 702s # { 702s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 702s # gdouble da = g_value_get_double (a); 702s # gdouble db = g_value_get_double (b); 702s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 702s # } 702s # break; 702s # case G_TYPE_STRING: 702s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 702s # break; 702s # case G_TYPE_VARIANT: 702s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 702s # break; 702s # default: 702s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 702s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 702s # else 702s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 702s # break; 702s # } 702s # return ret; 702s # } 702s # 702s # static void 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint G_GNUC_UNUSED, 702s # void *marshal_data) 702s # { 702s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 702s # (void *data1, 702s # GDBusMethodInvocation *arg_method_invocation, 702s # void *data2); 702s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 702s # GCClosure *cc = (GCClosure*) closure; 702s # void *data1, *data2; 702s # gboolean v_return; 702s # 702s # g_return_if_fail (return_value != NULL); 702s # g_return_if_fail (n_param_values == 2); 702s # 702s # if (G_CCLOSURE_SWAP_DATA (closure)) 702s # { 702s # data1 = closure->data; 702s # data2 = g_value_peek_pointer (param_values + 0); 702s # } 702s # else 702s # { 702s # data1 = g_value_peek_pointer (param_values + 0); 702s # data2 = closure->data; 702s # } 702s # 702s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 702s # (marshal_data ? marshal_data : cc->callback); 702s # 702s # v_return = 702s # callback (data1, 702s # g_marshal_value_peek_object (param_values + 1), 702s # data2); 702s # 702s # g_value_set_boolean (return_value, v_return); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ 702s # * Code for interface com.acme.Coyote 702s # * ------------------------------------------------------------------------ 702s # */ 702s # 702s # /** 702s # * SECTION:ComAcmeCoyote 702s # * @title: ComAcmeCoyote 702s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 702s # * 702s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 702s # */ 702s # 702s # enum 702s # { 702s # _COM_ACME_COYOTE_SURPRISED, 702s # }; 702s # 702s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 702s # 702s # /* ---- Introspection data for com.acme.Coyote ---- */ 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Run", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-run", 702s # FALSE 702s # }; 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Sleep", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-sleep", 702s # FALSE 702s # }; 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Attack", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-attack", 702s # FALSE 702s # }; 702s # 702s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 702s # { 702s # &_com_acme_coyote_method_info_run.parent_struct, 702s # &_com_acme_coyote_method_info_sleep.parent_struct, 702s # &_com_acme_coyote_method_info_attack.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Surprised", 702s # NULL, 702s # NULL 702s # }, 702s # "surprised" 702s # }; 702s # 702s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 702s # { 702s # &_com_acme_coyote_signal_info_surprised.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Mood", 702s # (gchar *) "s", 702s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 702s # NULL 702s # }, 702s # "mood", 702s # FALSE, 702s # TRUE 702s # }; 702s # 702s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 702s # { 702s # &_com_acme_coyote_property_info_mood.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 702s # { 702s # { 702s # -1, 702s # (gchar *) "com.acme.Coyote", 702s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 702s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 702s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 702s # NULL 702s # }, 702s # "com-acme-coyote", 702s # }; 702s # 702s # 702s # /** 702s # * com_acme_coyote_interface_info: 702s # * 702s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 702s # * 702s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 702s # */ 702s # GDBusInterfaceInfo * 702s # com_acme_coyote_interface_info (void) 702s # { 702s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_override_properties: 702s # * @klass: The class structure for a #GObject derived class. 702s # * @property_id_begin: The property id to assign to the first overridden property. 702s # * 702s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 702s # * The properties are overridden in the order they are defined. 702s # * 702s # * Returns: The last property id. 702s # */ 702s # guint 702s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 702s # { 702s # g_object_class_override_property (klass, property_id_begin++, "mood"); 702s # return property_id_begin - 1; 702s # } 702s # 702s # 702s # inline static void 702s # com_acme_coyote_signal_marshal_surprised ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # g_cclosure_marshal_VOID__VOID (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_run ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_sleep ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_attack ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # 702s # /** 702s # * ComAcmeCoyote: 702s # * 702s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteIface: 702s # * @parent_iface: The parent interface. 702s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 702s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 702s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 702s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 702s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 702s # * 702s # * Virtual table for the D-Bus interface com.acme.Coyote. 702s # */ 702s # 702s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 702s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 702s # 702s # static void 702s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 702s # { 702s # /* GObject signals for incoming D-Bus method calls: */ 702s # /** 702s # * ComAcmeCoyote::handle-run: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-run", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_run, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /** 702s # * ComAcmeCoyote::handle-sleep: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-sleep", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_sleep, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /** 702s # * ComAcmeCoyote::handle-attack: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-attack", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_attack, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /* GObject signals for received D-Bus signals: */ 702s # /** 702s # * ComAcmeCoyote::surprised: 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 702s # * 702s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 702s # */ 702s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 702s # g_signal_new ("surprised", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 702s # NULL, 702s # NULL, 702s # com_acme_coyote_signal_marshal_surprised, 702s # G_TYPE_NONE, 702s # 0); 702s # 702s # /* GObject properties for D-Bus properties: */ 702s # /** 702s # * ComAcmeCoyote:mood: 702s # * 702s # * Represents the D-Bus property "Mood". 702s # * 702s # * 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. 702s # */ 702s # g_object_interface_install_property (iface, 702s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_get_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Gets the value of the "Mood" D-Bus property. 702s # * 702s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # const gchar * 702s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 702s # { 702s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 702s # 702s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_dup_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Gets a copy of the "Mood" D-Bus property. 702s # * 702s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 702s # * 702s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 702s # */ 702s # gchar * 702s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 702s # { 702s # gchar *value; 702s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 702s # return value; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_set_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * @value: The value to set. 702s # * 702s # * Sets the "Mood" D-Bus property to @value. 702s # * 702s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 702s # */ 702s # void 702s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 702s # { 702s # g_object_set (G_OBJECT (object), "mood", value, NULL); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_emit_surprised: 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Emits the "Surprised" D-Bus signal. 702s # */ 702s # void 702s # com_acme_coyote_emit_surprised ( 702s # ComAcmeCoyote *object) 702s # { 702s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Run() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_run ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Run", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_run(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_run_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_run_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Run", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_sleep ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Sleep", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_sleep(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_sleep_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_sleep_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Sleep", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_attack ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Attack", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_attack(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_attack_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_attack_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Attack", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_run: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_run ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_sleep: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_sleep ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_attack: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_attack ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * ComAcmeCoyoteProxy: 702s # * 702s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteProxyClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #ComAcmeCoyoteProxy. 702s # */ 702s # 702s # struct _ComAcmeCoyoteProxyPrivate 702s # { 702s # GData *qdata; 702s # }; 702s # 702s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 702s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 702s # 702s # #endif 702s # static void 702s # com_acme_coyote_proxy_finalize (GObject *object) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 702s # g_datalist_clear (&proxy->priv->qdata); 702s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_get_property (GObject *object, 702s # guint prop_id, 702s # GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # GVariant *variant; 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 702s # if (info->use_gvariant) 702s # { 702s # g_value_set_variant (value, variant); 702s # } 702s # else 702s # { 702s # if (variant != NULL) 702s # g_dbus_gvariant_to_gvalue (variant, value); 702s # } 702s # if (variant != NULL) 702s # g_variant_unref (variant); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 702s # GAsyncResult *res, 702s # gpointer user_data) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info = user_data; 702s # GError *error; 702s # GVariant *_ret; 702s # error = NULL; 702s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 702s # if (!_ret) 702s # { 702s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 702s # info->parent_struct.name, 702s # error->message, g_quark_to_string (error->domain), error->code); 702s # g_error_free (error); 702s # } 702s # else 702s # { 702s # g_variant_unref (_ret); 702s # } 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_set_property (GObject *object, 702s # guint prop_id, 702s # const GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # GVariant *variant; 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_dbus_proxy_call (G_DBUS_PROXY (object), 702s # "org.freedesktop.DBus.Properties.Set", 702s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 702s # g_variant_unref (variant); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 702s # const gchar *sender_name G_GNUC_UNUSED, 702s # const gchar *signal_name, 702s # GVariant *parameters) 702s # { 702s # _ExtendedGDBusSignalInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # gsize n; 702s # guint signal_id; 702s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 702s # if (info == NULL) 702s # return; 702s # num_params = g_variant_n_children (parameters); 702s # paramv = g_new0 (GValue, num_params + 1); 702s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 702s # g_value_set_object (¶mv[0], proxy); 702s # g_variant_iter_init (&iter, parameters); 702s # n = 1; 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 702s # g_signal_emitv (paramv, signal_id, 0, NULL); 702s # for (n = 0; n < num_params + 1; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 702s # GVariant *changed_properties, 702s # const gchar *const *invalidated_properties) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 702s # guint n; 702s # const gchar *key; 702s # GVariantIter *iter; 702s # _ExtendedGDBusPropertyInfo *info; 702s # g_variant_get (changed_properties, "a{sv}", &iter); 702s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 702s # g_datalist_remove_data (&proxy->priv->qdata, key); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # g_variant_iter_free (iter); 702s # for (n = 0; invalidated_properties[n] != NULL; n++) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 702s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # } 702s # 702s # static const gchar * 702s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 702s # GVariant *variant; 702s # const gchar *value = NULL; 702s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 702s # if (variant != NULL) 702s # { 702s # value = g_variant_get_string (variant, NULL); 702s # g_variant_unref (variant); 702s # } 702s # return value; 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 702s # #else 702s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 702s # #endif 702s # 702s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusProxyClass *proxy_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 702s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 702s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 702s # 702s # proxy_class = G_DBUS_PROXY_CLASS (klass); 702s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 702s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 702s # 702s # com_acme_coyote_override_properties (gobject_class, 1); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 702s # { 702s # iface->get_mood = com_acme_coyote_proxy_get_mood; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # com_acme_coyote_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with com_acme_coyote_proxy_new(). 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_sync: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # com_acme_coyote_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus_sync: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * ComAcmeCoyoteSkeleton: 702s # * 702s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteSkeletonClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #ComAcmeCoyoteSkeleton. 702s # */ 702s # 702s # struct _ComAcmeCoyoteSkeletonPrivate 702s # { 702s # GValue *properties; 702s # GList *changed_properties; 702s # GSource *changed_properties_idle_source; 702s # GMainContext *context; 702s # GMutex lock; 702s # }; 702s # 702s # static void 702s # _com_acme_coyote_skeleton_handle_method_call ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name, 702s # const gchar *method_name, 702s # GVariant *parameters, 702s # GDBusMethodInvocation *invocation, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # _ExtendedGDBusMethodInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # guint num_extra; 702s # gsize n; 702s # guint signal_id; 702s # GValue return_value = G_VALUE_INIT; 702s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 702s # g_assert (info != NULL); 702s # num_params = g_variant_n_children (parameters); 702s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 702s # n = 0; 702s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 702s # g_value_set_object (¶mv[n++], skeleton); 702s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 702s # g_value_set_object (¶mv[n++], invocation); 702s # if (info->pass_fdlist) 702s # { 702s # #ifdef G_OS_UNIX 702s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 702s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 702s # #else 702s # g_assert_not_reached (); 702s # #endif 702s # } 702s # g_variant_iter_init (&iter, parameters); 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 702s # g_value_init (&return_value, G_TYPE_BOOLEAN); 702s # g_signal_emitv (paramv, signal_id, 0, &return_value); 702s # if (!g_value_get_boolean (&return_value)) 702s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 702s # g_value_unset (&return_value); 702s # for (n = 0; n < num_params + num_extra; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static GVariant * 702s # _com_acme_coyote_skeleton_handle_get_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # GVariant *ret; 702s # ret = NULL; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # g_value_init (&value, pspec->value_type); 702s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_value_unset (&value); 702s # } 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _com_acme_coyote_skeleton_handle_set_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GVariant *variant, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # gboolean ret; 702s # ret = FALSE; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # if (info->use_gvariant) 702s # g_value_set_variant (&value, variant); 702s # else 702s # g_dbus_gvariant_to_gvalue (variant, &value); 702s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # g_value_unset (&value); 702s # ret = TRUE; 702s # } 702s # return ret; 702s # } 702s # 702s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 702s # { 702s # _com_acme_coyote_skeleton_handle_method_call, 702s # _com_acme_coyote_skeleton_handle_get_property, 702s # _com_acme_coyote_skeleton_handle_set_property, 702s # {NULL} 702s # }; 702s # 702s # static GDBusInterfaceInfo * 702s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return com_acme_coyote_interface_info (); 702s # } 702s # 702s # static GDBusInterfaceVTable * 702s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 702s # } 702s # 702s # static GVariant * 702s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 702s # 702s # GVariantBuilder builder; 702s # guint n; 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #else 702s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #endif 702s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 702s # goto out; 702s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 702s # { 702s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 702s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 702s # { 702s # GVariant *value; 702s # 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); 702s # if (value != NULL) 702s # { 702s # g_variant_take_ref (value); 702s # g_variant_builder_add (&builder, "{sv}", info->name, value); 702s # g_variant_unref (value); 702s # } 702s # } 702s # } 702s # out: 702s # return g_variant_builder_end (&builder); 702s # } 702s # 702s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 702s # 702s # static void 702s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 702s # gboolean emit_changed = FALSE; 702s # 702s # g_mutex_lock (&skeleton->priv->lock); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # { 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # skeleton->priv->changed_properties_idle_source = NULL; 702s # emit_changed = TRUE; 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # 702s # if (emit_changed) 702s # _com_acme_coyote_emit_changed (skeleton); 702s # } 702s # 702s # static void 702s # _com_acme_coyote_on_signal_surprised ( 702s # ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # 702s # GList *connections, *l; 702s # GVariant *signal_variant; 702s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 702s # 702s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 702s # for (l = connections; l != NULL; l = l->next) 702s # { 702s # GDBusConnection *connection = l->data; 702s # g_dbus_connection_emit_signal (connection, 702s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 702s # signal_variant, NULL); 702s # } 702s # g_variant_unref (signal_variant); 702s # g_list_free_full (connections, g_object_unref); 702s # } 702s # 702s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 702s # 702s # #endif 702s # static void 702s # com_acme_coyote_skeleton_finalize (GObject *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # guint n; 702s # for (n = 0; n < 1; n++) 702s # g_value_unset (&skeleton->priv->properties[n]); 702s # g_free (skeleton->priv->properties); 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # g_main_context_unref (skeleton->priv->context); 702s # g_mutex_clear (&skeleton->priv->lock); 702s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_get_property (GObject *object, 702s # guint prop_id, 702s # GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # g_mutex_lock (&skeleton->priv->lock); 702s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # } 702s # 702s # static gboolean 702s # _com_acme_coyote_emit_changed (gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GList *l; 702s # GVariantBuilder builder; 702s # GVariantBuilder invalidated_builder; 702s # guint num_changes; 702s # 702s # g_mutex_lock (&skeleton->priv->lock); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 702s # #else 702s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 702s # #endif 702s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 702s # { 702s # ChangedProperty *cp = l->data; 702s # GVariant *variant; 702s # const GValue *cur_value; 702s # 702s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 702s # if (!_g_value_equal (cur_value, &cp->orig_value)) 702s # { 702s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 702s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 702s # g_variant_unref (variant); 702s # num_changes++; 702s # } 702s # } 702s # if (num_changes > 0) 702s # { 702s # GList *connections, *ll; 702s # GVariant *signal_variant; 702s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 702s # &builder, &invalidated_builder)); 702s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 702s # for (ll = connections; ll != NULL; ll = ll->next) 702s # { 702s # GDBusConnection *connection = ll->data; 702s # 702s # g_dbus_connection_emit_signal (connection, 702s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 702s # "org.freedesktop.DBus.Properties", 702s # "PropertiesChanged", 702s # signal_variant, 702s # NULL); 702s # } 702s # g_variant_unref (signal_variant); 702s # g_list_free_full (connections, g_object_unref); 702s # } 702s # else 702s # { 702s # g_variant_builder_clear (&builder); 702s # g_variant_builder_clear (&invalidated_builder); 702s # } 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # skeleton->priv->changed_properties = NULL; 702s # skeleton->priv->changed_properties_idle_source = NULL; 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # return FALSE; 702s # } 702s # 702s # static void 702s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 702s # { 702s # ChangedProperty *cp; 702s # GList *l; 702s # cp = NULL; 702s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 702s # { 702s # ChangedProperty *i_cp = l->data; 702s # if (i_cp->info == info) 702s # { 702s # cp = i_cp; 702s # break; 702s # } 702s # } 702s # if (cp == NULL) 702s # { 702s # cp = g_new0 (ChangedProperty, 1); 702s # cp->prop_id = prop_id; 702s # cp->info = info; 702s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 702s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 702s # g_value_copy (orig_value, &cp->orig_value); 702s # } 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_notify (GObject *object, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_mutex_lock (&skeleton->priv->lock); 702s # if (skeleton->priv->changed_properties != NULL && 702s # skeleton->priv->changed_properties_idle_source == NULL) 702s # { 702s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 702s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 702s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 702s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 702s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 702s # g_source_unref (skeleton->priv->changed_properties_idle_source); 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_set_property (GObject *object, 702s # guint prop_id, 702s # const GValue *value, 702s # GParamSpec *pspec) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # g_mutex_lock (&skeleton->priv->lock); 702s # g_object_freeze_notify (object); 702s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 702s # { 702s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 702s # info->emits_changed_signal) 702s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 702s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 702s # g_object_notify_by_pspec (object, pspec); 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # g_object_thaw_notify (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 702s # #else 702s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 702s # #endif 702s # 702s # g_mutex_init (&skeleton->priv->lock); 702s # skeleton->priv->context = g_main_context_ref_thread_default (); 702s # skeleton->priv->properties = g_new0 (GValue, 1); 702s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 702s # } 702s # 702s # static const gchar * 702s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # const gchar *value; 702s # g_mutex_lock (&skeleton->priv->lock); 702s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # return value; 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusInterfaceSkeletonClass *skeleton_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 702s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 702s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 702s # gobject_class->notify = com_acme_coyote_skeleton_notify; 702s # 702s # 702s # com_acme_coyote_override_properties (gobject_class, 1); 702s # 702s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 702s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 702s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 702s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 702s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 702s # { 702s # iface->surprised = _com_acme_coyote_on_signal_surprised; 702s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_skeleton_new: 702s # * 702s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_skeleton_new (void) 702s # { 702s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ 702s # * Code for interface org.project.Bar.Frobnicator 702s # * ------------------------------------------------------------------------ 702s # */ 702s # 702s # /** 702s # * SECTION:OrgProjectBarFrobnicator 702s # * @title: OrgProjectBarFrobnicator 702s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 702s # * 702s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 702s # */ 702s # 702s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 702s # 702s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 702s # { 702s # { 702s # -1, 702s # (gchar *) "RandomMethod", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-random-method", 702s # FALSE 702s # }; 702s # 702s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 702s # { 702s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 702s # { 702s # { 702s # -1, 702s # (gchar *) "org.project.Bar.Frobnicator", 702s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "org-project-bar-frobnicator", 702s # }; 702s # 702s # 702s # /** 702s # * org_project_bar_frobnicator_interface_info: 702s # * 702s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 702s # * 702s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 702s # */ 702s # GDBusInterfaceInfo * 702s # org_project_bar_frobnicator_interface_info (void) 702s # { 702s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_override_properties: 702s # * @klass: The class structure for a #GObject derived class. 702s # * @property_id_begin: The property id to assign to the first overridden property. 702s # * 702s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 702s # * The properties are overridden in the order they are defined. 702s # * 702s # * Returns: The last property id. 702s # */ 702s # guint 702s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 702s # { 702s # return property_id_begin - 1; 702s # } 702s # 702s # 702s # inline static void 702s # org_project_bar_frobnicator_method_marshal_random_method ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # 702s # /** 702s # * OrgProjectBarFrobnicator: 702s # * 702s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorIface: 702s # * @parent_iface: The parent interface. 702s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 702s # * 702s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 702s # */ 702s # 702s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 702s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 702s # 702s # static void 702s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 702s # { 702s # /* GObject signals for incoming D-Bus method calls: */ 702s # /** 702s # * OrgProjectBarFrobnicator::handle-random-method: 702s # * @object: A #OrgProjectBarFrobnicator. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-random-method", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # org_project_bar_frobnicator_method_marshal_random_method, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # org_project_bar_frobnicator_call_random_method ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "RandomMethod", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method_finish: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # org_project_bar_frobnicator_call_random_method_finish ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method_sync: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # org_project_bar_frobnicator_call_random_method_sync ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "RandomMethod", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_complete_random_method: 702s # * @object: A #OrgProjectBarFrobnicator. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # org_project_bar_frobnicator_complete_random_method ( 702s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorProxy: 702s # * 702s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorProxyClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #OrgProjectBarFrobnicatorProxy. 702s # */ 702s # 702s # struct _OrgProjectBarFrobnicatorProxyPrivate 702s # { 702s # GData *qdata; 702s # }; 702s # 702s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 702s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 702s # 702s # #endif 702s # static void 702s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 702s # { 702s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 702s # g_datalist_clear (&proxy->priv->qdata); 702s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 702s # guint prop_id G_GNUC_UNUSED, 702s # GValue *value G_GNUC_UNUSED, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 702s # guint prop_id G_GNUC_UNUSED, 702s # const GValue *value G_GNUC_UNUSED, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 702s # const gchar *sender_name G_GNUC_UNUSED, 702s # const gchar *signal_name, 702s # GVariant *parameters) 702s # { 702s # _ExtendedGDBusSignalInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # gsize n; 702s # guint signal_id; 702s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 702s # if (info == NULL) 702s # return; 702s # num_params = g_variant_n_children (parameters); 702s # paramv = g_new0 (GValue, num_params + 1); 702s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_set_object (¶mv[0], proxy); 702s # g_variant_iter_init (&iter, parameters); 702s # n = 1; 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_signal_emitv (paramv, signal_id, 0, NULL); 702s # for (n = 0; n < num_params + 1; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 702s # GVariant *changed_properties, 702s # const gchar *const *invalidated_properties) 702s # { 702s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 702s # guint n; 702s # const gchar *key; 702s # GVariantIter *iter; 702s # _ExtendedGDBusPropertyInfo *info; 702s # g_variant_get (changed_properties, "a{sv}", &iter); 702s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 702s # g_datalist_remove_data (&proxy->priv->qdata, key); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # g_variant_iter_free (iter); 702s # for (n = 0; invalidated_properties[n] != NULL; n++) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 702s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 702s # #else 702s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 702s # #endif 702s # 702s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusProxyClass *proxy_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 702s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 702s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 702s # 702s # proxy_class = G_DBUS_PROXY_CLASS (klass); 702s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 702s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # org_project_bar_frobnicator_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_sync: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # org_project_bar_frobnicator_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorSkeleton: 702s # * 702s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorSkeletonClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 702s # */ 702s # 702s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 702s # { 702s # GValue *properties; 702s # GList *changed_properties; 702s # GSource *changed_properties_idle_source; 702s # GMainContext *context; 702s # GMutex lock; 702s # }; 702s # 702s # static void 702s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name, 702s # const gchar *method_name, 702s # GVariant *parameters, 702s # GDBusMethodInvocation *invocation, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # _ExtendedGDBusMethodInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # guint num_extra; 702s # gsize n; 702s # guint signal_id; 702s # GValue return_value = G_VALUE_INIT; 702s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 702s # g_assert (info != NULL); 702s # num_params = g_variant_n_children (parameters); 702s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 702s # n = 0; 702s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_set_object (¶mv[n++], skeleton); 702s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 702s # g_value_set_object (¶mv[n++], invocation); 702s # if (info->pass_fdlist) 702s # { 702s # #ifdef G_OS_UNIX 702s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 702s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 702s # #else 702s # g_assert_not_reached (); 702s # #endif 702s # } 702s # g_variant_iter_init (&iter, parameters); 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_init (&return_value, G_TYPE_BOOLEAN); 702s # g_signal_emitv (paramv, signal_id, 0, &return_value); 702s # if (!g_value_get_boolean (&return_value)) 702s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 702s # g_value_unset (&return_value); 702s # for (n = 0; n < num_params + num_extra; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static GVariant * 702s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # GVariant *ret; 702s # ret = NULL; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # g_value_init (&value, pspec->value_type); 702s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_value_unset (&value); 702s # } 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GVariant *variant, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # gboolean ret; 702s # ret = FALSE; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # if (info->use_gvariant) 702s # g_value_set_variant (&value, variant); 702s # else 702s # g_dbus_gvariant_to_gvalue (variant, &value); 702s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # g_value_unset (&value); 702s # ret = TRUE; 702s # } 702s # return ret; 702s # } 702s # 702s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 702s # { 702s # _org_project_bar_frobnicator_skeleton_handle_method_call, 702s # _org_project_bar_frobnicator_skeleton_handle_get_property, 702s # _org_project_bar_frobnicator_skeleton_handle_set_property, 702s # {NULL} 702s # }; 702s # 702s # static GDBusInterfaceInfo * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return org_project_bar_frobnicator_interface_info (); 702s # } 702s # 702s # static GDBusInterfaceVTable * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 702s # } 702s # 702s # static GVariant * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 702s # 702s # GVariantBuilder builder; 702s # guint n; 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #else 702s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #endif 702s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 702s # goto out; 702s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 702s # { 702s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 702s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 702s # { 702s # GVariant *value; 702s # 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); 702s # if (value != NULL) 702s # { 702s # g_variant_take_ref (value); 702s # g_variant_builder_add (&builder, "{sv}", info->name, value); 702s # g_variant_unref (value); 702s # } 702s # } 702s # } 702s # out: 702s # return g_variant_builder_end (&builder); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 702s # 702s # #endif 702s # static void 702s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # g_main_context_unref (skeleton->priv->context); 702s # g_mutex_clear (&skeleton->priv->lock); 702s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 702s # #else 702s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 702s # #endif 702s # 702s # g_mutex_init (&skeleton->priv->lock); 702s # skeleton->priv->context = g_main_context_ref_thread_default (); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusInterfaceSkeletonClass *skeleton_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 702s # 702s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 702s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 702s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 702s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 702s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_skeleton_new: 702s # * 702s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_skeleton_new (void) 702s # { 702s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 702s # } 702s # Error: 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq8jrelmd/tmpq6n2ht6g2.xml', '/tmp/tmpq8jrelmd/tmpb1szj2kn1.xml', '--output', '-', '--body'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifdef HAVE_CONFIG_H 702s # # include "config.h" 702s # #endif 702s # 702s # #include 702s # #ifdef G_OS_UNIX 702s # # include 702s # #endif 702s # 702s # #ifdef G_ENABLE_DEBUG 702s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 702s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 702s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 702s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 702s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 702s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 702s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 702s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 702s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 702s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 702s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 702s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 702s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 702s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 702s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 702s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 702s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 702s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 702s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 702s # #else /* !G_ENABLE_DEBUG */ 702s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 702s # * Do not access GValues directly in your code. Instead, use the 702s # * g_value_get_*() functions 702s # */ 702s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 702s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 702s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 702s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 702s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 702s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 702s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 702s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 702s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 702s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 702s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 702s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 702s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 702s # #endif /* !G_ENABLE_DEBUG */ 702s # 702s # typedef struct 702s # { 702s # GDBusArgInfo parent_struct; 702s # gboolean use_gvariant; 702s # } _ExtendedGDBusArgInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusMethodInfo parent_struct; 702s # const gchar *signal_name; 702s # gboolean pass_fdlist; 702s # } _ExtendedGDBusMethodInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusSignalInfo parent_struct; 702s # const gchar *signal_name; 702s # } _ExtendedGDBusSignalInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusPropertyInfo parent_struct; 702s # const gchar *hyphen_name; 702s # guint use_gvariant : 1; 702s # guint emits_changed_signal : 1; 702s # } _ExtendedGDBusPropertyInfo; 702s # 702s # typedef struct 702s # { 702s # GDBusInterfaceInfo parent_struct; 702s # const gchar *hyphen_name; 702s # } _ExtendedGDBusInterfaceInfo; 702s # 702s # typedef struct 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # guint prop_id; 702s # GValue orig_value; /* the value before the change */ 702s # } ChangedProperty; 702s # 702s # static void 702s # _changed_property_free (ChangedProperty *data) 702s # { 702s # g_value_unset (&data->orig_value); 702s # g_free (data); 702s # } 702s # 702s # static gboolean 702s # _g_strv_equal0 (gchar **a, gchar **b) 702s # { 702s # gboolean ret = FALSE; 702s # guint n; 702s # if (a == NULL && b == NULL) 702s # { 702s # ret = TRUE; 702s # goto out; 702s # } 702s # if (a == NULL || b == NULL) 702s # goto out; 702s # if (g_strv_length (a) != g_strv_length (b)) 702s # goto out; 702s # for (n = 0; a[n] != NULL; n++) 702s # if (g_strcmp0 (a[n], b[n]) != 0) 702s # goto out; 702s # ret = TRUE; 702s # out: 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _g_variant_equal0 (GVariant *a, GVariant *b) 702s # { 702s # gboolean ret = FALSE; 702s # if (a == NULL && b == NULL) 702s # { 702s # ret = TRUE; 702s # goto out; 702s # } 702s # if (a == NULL || b == NULL) 702s # goto out; 702s # ret = g_variant_equal (a, b); 702s # out: 702s # return ret; 702s # } 702s # 702s # G_GNUC_UNUSED static gboolean 702s # _g_value_equal (const GValue *a, const GValue *b) 702s # { 702s # gboolean ret = FALSE; 702s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 702s # switch (G_VALUE_TYPE (a)) 702s # { 702s # case G_TYPE_BOOLEAN: 702s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 702s # break; 702s # case G_TYPE_UCHAR: 702s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 702s # break; 702s # case G_TYPE_INT: 702s # ret = (g_value_get_int (a) == g_value_get_int (b)); 702s # break; 702s # case G_TYPE_UINT: 702s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 702s # break; 702s # case G_TYPE_INT64: 702s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 702s # break; 702s # case G_TYPE_UINT64: 702s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 702s # break; 702s # case G_TYPE_DOUBLE: 702s # { 702s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 702s # gdouble da = g_value_get_double (a); 702s # gdouble db = g_value_get_double (b); 702s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 702s # } 702s # break; 702s # case G_TYPE_STRING: 702s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 702s # break; 702s # case G_TYPE_VARIANT: 702s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 702s # break; 702s # default: 702s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 702s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 702s # else 702s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 702s # break; 702s # } 702s # return ret; 702s # } 702s # 702s # static void 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint G_GNUC_UNUSED, 702s # void *marshal_data) 702s # { 702s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 702s # (void *data1, 702s # GDBusMethodInvocation *arg_method_invocation, 702s # void *data2); 702s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 702s # GCClosure *cc = (GCClosure*) closure; 702s # void *data1, *data2; 702s # gboolean v_return; 702s # 702s # g_return_if_fail (return_value != NULL); 702s # g_return_if_fail (n_param_values == 2); 702s # 702s # if (G_CCLOSURE_SWAP_DATA (closure)) 702s # { 702s # data1 = closure->data; 702s # data2 = g_value_peek_pointer (param_values + 0); 702s # } 702s # else 702s # { 702s # data1 = g_value_peek_pointer (param_values + 0); 702s # data2 = closure->data; 702s # } 702s # 702s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 702s # (marshal_data ? marshal_data : cc->callback); 702s # 702s # v_return = 702s # callback (data1, 702s # g_marshal_value_peek_object (param_values + 1), 702s # data2); 702s # 702s # g_value_set_boolean (return_value, v_return); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ 702s # * Code for interface com.acme.Coyote 702s # * ------------------------------------------------------------------------ 702s # */ 702s # 702s # /** 702s # * SECTION:ComAcmeCoyote 702s # * @title: ComAcmeCoyote 702s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 702s # * 702s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 702s # */ 702s # 702s # enum 702s # { 702s # _COM_ACME_COYOTE_SURPRISED, 702s # }; 702s # 702s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 702s # 702s # /* ---- Introspection data for com.acme.Coyote ---- */ 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Run", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-run", 702s # FALSE 702s # }; 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Sleep", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-sleep", 702s # FALSE 702s # }; 702s # 702s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Attack", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-attack", 702s # FALSE 702s # }; 702s # 702s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 702s # { 702s # &_com_acme_coyote_method_info_run.parent_struct, 702s # &_com_acme_coyote_method_info_sleep.parent_struct, 702s # &_com_acme_coyote_method_info_attack.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Surprised", 702s # NULL, 702s # NULL 702s # }, 702s # "surprised" 702s # }; 702s # 702s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 702s # { 702s # &_com_acme_coyote_signal_info_surprised.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 702s # { 702s # { 702s # -1, 702s # (gchar *) "Mood", 702s # (gchar *) "s", 702s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 702s # NULL 702s # }, 702s # "mood", 702s # FALSE, 702s # TRUE 702s # }; 702s # 702s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 702s # { 702s # &_com_acme_coyote_property_info_mood.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 702s # { 702s # { 702s # -1, 702s # (gchar *) "com.acme.Coyote", 702s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 702s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 702s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 702s # NULL 702s # }, 702s # "com-acme-coyote", 702s # }; 702s # 702s # 702s # /** 702s # * com_acme_coyote_interface_info: 702s # * 702s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 702s # * 702s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 702s # */ 702s # GDBusInterfaceInfo * 702s # com_acme_coyote_interface_info (void) 702s # { 702s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_override_properties: 702s # * @klass: The class structure for a #GObject derived class. 702s # * @property_id_begin: The property id to assign to the first overridden property. 702s # * 702s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 702s # * The properties are overridden in the order they are defined. 702s # * 702s # * Returns: The last property id. 702s # */ 702s # guint 702s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 702s # { 702s # g_object_class_override_property (klass, property_id_begin++, "mood"); 702s # return property_id_begin - 1; 702s # } 702s # 702s # 702s # inline static void 702s # com_acme_coyote_signal_marshal_surprised ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # g_cclosure_marshal_VOID__VOID (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_run ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_sleep ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # inline static void 702s # com_acme_coyote_method_marshal_attack ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # 702s # /** 702s # * ComAcmeCoyote: 702s # * 702s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteIface: 702s # * @parent_iface: The parent interface. 702s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 702s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 702s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 702s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 702s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 702s # * 702s # * Virtual table for the D-Bus interface com.acme.Coyote. 702s # */ 702s # 702s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 702s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 702s # 702s # static void 702s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 702s # { 702s # /* GObject signals for incoming D-Bus method calls: */ 702s # /** 702s # * ComAcmeCoyote::handle-run: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-run", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_run, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /** 702s # * ComAcmeCoyote::handle-sleep: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-sleep", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_sleep, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /** 702s # * ComAcmeCoyote::handle-attack: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-attack", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # com_acme_coyote_method_marshal_attack, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # /* GObject signals for received D-Bus signals: */ 702s # /** 702s # * ComAcmeCoyote::surprised: 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 702s # * 702s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 702s # */ 702s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 702s # g_signal_new ("surprised", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 702s # NULL, 702s # NULL, 702s # com_acme_coyote_signal_marshal_surprised, 702s # G_TYPE_NONE, 702s # 0); 702s # 702s # /* GObject properties for D-Bus properties: */ 702s # /** 702s # * ComAcmeCoyote:mood: 702s # * 702s # * Represents the D-Bus property "Mood". 702s # * 702s # * 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. 702s # */ 702s # g_object_interface_install_property (iface, 702s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_get_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Gets the value of the "Mood" D-Bus property. 702s # * 702s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # const gchar * 702s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 702s # { 702s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 702s # 702s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_dup_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Gets a copy of the "Mood" D-Bus property. 702s # * 702s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 702s # * 702s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 702s # */ 702s # gchar * 702s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 702s # { 702s # gchar *value; 702s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 702s # return value; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_set_mood: (skip) 702s # * @object: A #ComAcmeCoyote. 702s # * @value: The value to set. 702s # * 702s # * Sets the "Mood" D-Bus property to @value. 702s # * 702s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 702s # */ 702s # void 702s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 702s # { 702s # g_object_set (G_OBJECT (object), "mood", value, NULL); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_emit_surprised: 702s # * @object: A #ComAcmeCoyote. 702s # * 702s # * Emits the "Surprised" D-Bus signal. 702s # */ 702s # void 702s # com_acme_coyote_emit_surprised ( 702s # ComAcmeCoyote *object) 702s # { 702s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Run() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_run ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Run", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_run(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_run_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_run_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_run_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Run", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_sleep ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Sleep", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_sleep(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_sleep_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_sleep_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_sleep_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Sleep", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # com_acme_coyote_call_attack ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "Attack", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack_finish: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with com_acme_coyote_call_attack(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_attack_finish ( 702s # ComAcmeCoyote *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_call_attack_sync: 702s # * @proxy: A #ComAcmeCoyoteProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # com_acme_coyote_call_attack_sync ( 702s # ComAcmeCoyote *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "Attack", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_run: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_run ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_sleep: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_sleep ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_complete_attack: 702s # * @object: A #ComAcmeCoyote. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # com_acme_coyote_complete_attack ( 702s # ComAcmeCoyote *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * ComAcmeCoyoteProxy: 702s # * 702s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteProxyClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #ComAcmeCoyoteProxy. 702s # */ 702s # 702s # struct _ComAcmeCoyoteProxyPrivate 702s # { 702s # GData *qdata; 702s # }; 702s # 702s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 702s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 702s # 702s # #endif 702s # static void 702s # com_acme_coyote_proxy_finalize (GObject *object) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 702s # g_datalist_clear (&proxy->priv->qdata); 702s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_get_property (GObject *object, 702s # guint prop_id, 702s # GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # GVariant *variant; 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 702s # if (info->use_gvariant) 702s # { 702s # g_value_set_variant (value, variant); 702s # } 702s # else 702s # { 702s # if (variant != NULL) 702s # g_dbus_gvariant_to_gvalue (variant, value); 702s # } 702s # if (variant != NULL) 702s # g_variant_unref (variant); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 702s # GAsyncResult *res, 702s # gpointer user_data) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info = user_data; 702s # GError *error; 702s # GVariant *_ret; 702s # error = NULL; 702s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 702s # if (!_ret) 702s # { 702s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 702s # info->parent_struct.name, 702s # error->message, g_quark_to_string (error->domain), error->code); 702s # g_error_free (error); 702s # } 702s # else 702s # { 702s # g_variant_unref (_ret); 702s # } 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_set_property (GObject *object, 702s # guint prop_id, 702s # const GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # GVariant *variant; 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_dbus_proxy_call (G_DBUS_PROXY (object), 702s # "org.freedesktop.DBus.Properties.Set", 702s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 702s # g_variant_unref (variant); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 702s # const gchar *sender_name G_GNUC_UNUSED, 702s # const gchar *signal_name, 702s # GVariant *parameters) 702s # { 702s # _ExtendedGDBusSignalInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # gsize n; 702s # guint signal_id; 702s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 702s # if (info == NULL) 702s # return; 702s # num_params = g_variant_n_children (parameters); 702s # paramv = g_new0 (GValue, num_params + 1); 702s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 702s # g_value_set_object (¶mv[0], proxy); 702s # g_variant_iter_init (&iter, parameters); 702s # n = 1; 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 702s # g_signal_emitv (paramv, signal_id, 0, NULL); 702s # for (n = 0; n < num_params + 1; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 702s # GVariant *changed_properties, 702s # const gchar *const *invalidated_properties) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 702s # guint n; 702s # const gchar *key; 702s # GVariantIter *iter; 702s # _ExtendedGDBusPropertyInfo *info; 702s # g_variant_get (changed_properties, "a{sv}", &iter); 702s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 702s # g_datalist_remove_data (&proxy->priv->qdata, key); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # g_variant_iter_free (iter); 702s # for (n = 0; invalidated_properties[n] != NULL; n++) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 702s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # } 702s # 702s # static const gchar * 702s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 702s # GVariant *variant; 702s # const gchar *value = NULL; 702s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 702s # if (variant != NULL) 702s # { 702s # value = g_variant_get_string (variant, NULL); 702s # g_variant_unref (variant); 702s # } 702s # return value; 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 702s # #else 702s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 702s # #endif 702s # 702s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusProxyClass *proxy_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 702s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 702s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 702s # 702s # proxy_class = G_DBUS_PROXY_CLASS (klass); 702s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 702s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 702s # 702s # com_acme_coyote_override_properties (gobject_class, 1); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 702s # { 702s # iface->get_mood = com_acme_coyote_proxy_get_mood; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # com_acme_coyote_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with com_acme_coyote_proxy_new(). 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_sync: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 702s # * 702s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # com_acme_coyote_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_proxy_new_for_bus_sync: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return COM_ACME_COYOTE (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * ComAcmeCoyoteSkeleton: 702s # * 702s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * ComAcmeCoyoteSkeletonClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #ComAcmeCoyoteSkeleton. 702s # */ 702s # 702s # struct _ComAcmeCoyoteSkeletonPrivate 702s # { 702s # GValue *properties; 702s # GList *changed_properties; 702s # GSource *changed_properties_idle_source; 702s # GMainContext *context; 702s # GMutex lock; 702s # }; 702s # 702s # static void 702s # _com_acme_coyote_skeleton_handle_method_call ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name, 702s # const gchar *method_name, 702s # GVariant *parameters, 702s # GDBusMethodInvocation *invocation, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # _ExtendedGDBusMethodInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # guint num_extra; 702s # gsize n; 702s # guint signal_id; 702s # GValue return_value = G_VALUE_INIT; 702s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 702s # g_assert (info != NULL); 702s # num_params = g_variant_n_children (parameters); 702s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 702s # n = 0; 702s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 702s # g_value_set_object (¶mv[n++], skeleton); 702s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 702s # g_value_set_object (¶mv[n++], invocation); 702s # if (info->pass_fdlist) 702s # { 702s # #ifdef G_OS_UNIX 702s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 702s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 702s # #else 702s # g_assert_not_reached (); 702s # #endif 702s # } 702s # g_variant_iter_init (&iter, parameters); 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 702s # g_value_init (&return_value, G_TYPE_BOOLEAN); 702s # g_signal_emitv (paramv, signal_id, 0, &return_value); 702s # if (!g_value_get_boolean (&return_value)) 702s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 702s # g_value_unset (&return_value); 702s # for (n = 0; n < num_params + num_extra; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static GVariant * 702s # _com_acme_coyote_skeleton_handle_get_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # GVariant *ret; 702s # ret = NULL; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # g_value_init (&value, pspec->value_type); 702s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_value_unset (&value); 702s # } 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _com_acme_coyote_skeleton_handle_set_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GVariant *variant, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # gboolean ret; 702s # ret = FALSE; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # if (info->use_gvariant) 702s # g_value_set_variant (&value, variant); 702s # else 702s # g_dbus_gvariant_to_gvalue (variant, &value); 702s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # g_value_unset (&value); 702s # ret = TRUE; 702s # } 702s # return ret; 702s # } 702s # 702s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 702s # { 702s # _com_acme_coyote_skeleton_handle_method_call, 702s # _com_acme_coyote_skeleton_handle_get_property, 702s # _com_acme_coyote_skeleton_handle_set_property, 702s # {NULL} 702s # }; 702s # 702s # static GDBusInterfaceInfo * 702s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return com_acme_coyote_interface_info (); 702s # } 702s # 702s # static GDBusInterfaceVTable * 702s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 702s # } 702s # 702s # static GVariant * 702s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 702s # 702s # GVariantBuilder builder; 702s # guint n; 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #else 702s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #endif 702s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 702s # goto out; 702s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 702s # { 702s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 702s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 702s # { 702s # GVariant *value; 702s # 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); 702s # if (value != NULL) 702s # { 702s # g_variant_take_ref (value); 702s # g_variant_builder_add (&builder, "{sv}", info->name, value); 702s # g_variant_unref (value); 702s # } 702s # } 702s # } 702s # out: 702s # return g_variant_builder_end (&builder); 702s # } 702s # 702s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 702s # 702s # static void 702s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 702s # gboolean emit_changed = FALSE; 702s # 702s # g_mutex_lock (&skeleton->priv->lock); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # { 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # skeleton->priv->changed_properties_idle_source = NULL; 702s # emit_changed = TRUE; 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # 702s # if (emit_changed) 702s # _com_acme_coyote_emit_changed (skeleton); 702s # } 702s # 702s # static void 702s # _com_acme_coyote_on_signal_surprised ( 702s # ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # 702s # GList *connections, *l; 702s # GVariant *signal_variant; 702s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 702s # 702s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 702s # for (l = connections; l != NULL; l = l->next) 702s # { 702s # GDBusConnection *connection = l->data; 702s # g_dbus_connection_emit_signal (connection, 702s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 702s # signal_variant, NULL); 702s # } 702s # g_variant_unref (signal_variant); 702s # g_list_free_full (connections, g_object_unref); 702s # } 702s # 702s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 702s # 702s # #endif 702s # static void 702s # com_acme_coyote_skeleton_finalize (GObject *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # guint n; 702s # for (n = 0; n < 1; n++) 702s # g_value_unset (&skeleton->priv->properties[n]); 702s # g_free (skeleton->priv->properties); 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # g_main_context_unref (skeleton->priv->context); 702s # g_mutex_clear (&skeleton->priv->lock); 702s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_get_property (GObject *object, 702s # guint prop_id, 702s # GValue *value, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # g_mutex_lock (&skeleton->priv->lock); 702s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # } 702s # 702s # static gboolean 702s # _com_acme_coyote_emit_changed (gpointer user_data) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 702s # GList *l; 702s # GVariantBuilder builder; 702s # GVariantBuilder invalidated_builder; 702s # guint num_changes; 702s # 702s # g_mutex_lock (&skeleton->priv->lock); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 702s # #else 702s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 702s # #endif 702s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 702s # { 702s # ChangedProperty *cp = l->data; 702s # GVariant *variant; 702s # const GValue *cur_value; 702s # 702s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 702s # if (!_g_value_equal (cur_value, &cp->orig_value)) 702s # { 702s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 702s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 702s # g_variant_unref (variant); 702s # num_changes++; 702s # } 702s # } 702s # if (num_changes > 0) 702s # { 702s # GList *connections, *ll; 702s # GVariant *signal_variant; 702s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 702s # &builder, &invalidated_builder)); 702s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 702s # for (ll = connections; ll != NULL; ll = ll->next) 702s # { 702s # GDBusConnection *connection = ll->data; 702s # 702s # g_dbus_connection_emit_signal (connection, 702s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 702s # "org.freedesktop.DBus.Properties", 702s # "PropertiesChanged", 702s # signal_variant, 702s # NULL); 702s # } 702s # g_variant_unref (signal_variant); 702s # g_list_free_full (connections, g_object_unref); 702s # } 702s # else 702s # { 702s # g_variant_builder_clear (&builder); 702s # g_variant_builder_clear (&invalidated_builder); 702s # } 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # skeleton->priv->changed_properties = NULL; 702s # skeleton->priv->changed_properties_idle_source = NULL; 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # return FALSE; 702s # } 702s # 702s # static void 702s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 702s # { 702s # ChangedProperty *cp; 702s # GList *l; 702s # cp = NULL; 702s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 702s # { 702s # ChangedProperty *i_cp = l->data; 702s # if (i_cp->info == info) 702s # { 702s # cp = i_cp; 702s # break; 702s # } 702s # } 702s # if (cp == NULL) 702s # { 702s # cp = g_new0 (ChangedProperty, 1); 702s # cp->prop_id = prop_id; 702s # cp->info = info; 702s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 702s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 702s # g_value_copy (orig_value, &cp->orig_value); 702s # } 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_notify (GObject *object, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_mutex_lock (&skeleton->priv->lock); 702s # if (skeleton->priv->changed_properties != NULL && 702s # skeleton->priv->changed_properties_idle_source == NULL) 702s # { 702s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 702s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 702s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 702s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 702s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 702s # g_source_unref (skeleton->priv->changed_properties_idle_source); 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_set_property (GObject *object, 702s # guint prop_id, 702s # const GValue *value, 702s # GParamSpec *pspec) 702s # { 702s # const _ExtendedGDBusPropertyInfo *info; 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # g_assert (prop_id != 0 && prop_id - 1 < 1); 702s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 702s # g_mutex_lock (&skeleton->priv->lock); 702s # g_object_freeze_notify (object); 702s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 702s # { 702s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 702s # info->emits_changed_signal) 702s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 702s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 702s # g_object_notify_by_pspec (object, pspec); 702s # } 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # g_object_thaw_notify (object); 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 702s # #else 702s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 702s # #endif 702s # 702s # g_mutex_init (&skeleton->priv->lock); 702s # skeleton->priv->context = g_main_context_ref_thread_default (); 702s # skeleton->priv->properties = g_new0 (GValue, 1); 702s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 702s # } 702s # 702s # static const gchar * 702s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 702s # { 702s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 702s # const gchar *value; 702s # g_mutex_lock (&skeleton->priv->lock); 702s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 702s # g_mutex_unlock (&skeleton->priv->lock); 702s # return value; 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusInterfaceSkeletonClass *skeleton_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 702s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 702s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 702s # gobject_class->notify = com_acme_coyote_skeleton_notify; 702s # 702s # 702s # com_acme_coyote_override_properties (gobject_class, 1); 702s # 702s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 702s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 702s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 702s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 702s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 702s # { 702s # iface->surprised = _com_acme_coyote_on_signal_surprised; 702s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 702s # } 702s # 702s # /** 702s # * com_acme_coyote_skeleton_new: 702s # * 702s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 702s # * 702s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 702s # */ 702s # ComAcmeCoyote * 702s # com_acme_coyote_skeleton_new (void) 702s # { 702s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ 702s # * Code for interface org.project.Bar.Frobnicator 702s # * ------------------------------------------------------------------------ 702s # */ 702s # 702s # /** 702s # * SECTION:OrgProjectBarFrobnicator 702s # * @title: OrgProjectBarFrobnicator 702s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 702s # * 702s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 702s # */ 702s # 702s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 702s # 702s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 702s # { 702s # { 702s # -1, 702s # (gchar *) "RandomMethod", 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "handle-random-method", 702s # FALSE 702s # }; 702s # 702s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 702s # { 702s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 702s # NULL 702s # }; 702s # 702s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 702s # { 702s # { 702s # -1, 702s # (gchar *) "org.project.Bar.Frobnicator", 702s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 702s # NULL, 702s # NULL, 702s # NULL 702s # }, 702s # "org-project-bar-frobnicator", 702s # }; 702s # 702s # 702s # /** 702s # * org_project_bar_frobnicator_interface_info: 702s # * 702s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 702s # * 702s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 702s # */ 702s # GDBusInterfaceInfo * 702s # org_project_bar_frobnicator_interface_info (void) 702s # { 702s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_override_properties: 702s # * @klass: The class structure for a #GObject derived class. 702s # * @property_id_begin: The property id to assign to the first overridden property. 702s # * 702s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 702s # * The properties are overridden in the order they are defined. 702s # * 702s # * Returns: The last property id. 702s # */ 702s # guint 702s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 702s # { 702s # return property_id_begin - 1; 702s # } 702s # 702s # 702s # inline static void 702s # org_project_bar_frobnicator_method_marshal_random_method ( 702s # GClosure *closure, 702s # GValue *return_value, 702s # unsigned int n_param_values, 702s # const GValue *param_values, 702s # void *invocation_hint, 702s # void *marshal_data) 702s # { 702s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 702s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 702s # } 702s # 702s # 702s # /** 702s # * OrgProjectBarFrobnicator: 702s # * 702s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorIface: 702s # * @parent_iface: The parent interface. 702s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 702s # * 702s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 702s # */ 702s # 702s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 702s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 702s # 702s # static void 702s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 702s # { 702s # /* GObject signals for incoming D-Bus method calls: */ 702s # /** 702s # * OrgProjectBarFrobnicator::handle-random-method: 702s # * @object: A #OrgProjectBarFrobnicator. 702s # * @invocation: A #GDBusMethodInvocation. 702s # * 702s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 702s # * 702s # * 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. 702s # * 702s # * 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. 702s # */ 702s # g_signal_new ("handle-random-method", 702s # G_TYPE_FROM_INTERFACE (iface), 702s # G_SIGNAL_RUN_LAST, 702s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 702s # g_signal_accumulator_true_handled, 702s # NULL, 702s # org_project_bar_frobnicator_method_marshal_random_method, 702s # G_TYPE_BOOLEAN, 702s # 1, 702s # G_TYPE_DBUS_METHOD_INVOCATION); 702s # 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 702s # */ 702s # void 702s # org_project_bar_frobnicator_call_random_method ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 702s # "RandomMethod", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # callback, 702s # user_data); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method_finish: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # org_project_bar_frobnicator_call_random_method_finish ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_call_random_method_sync: 702s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL. 702s # * 702s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 702s # * 702s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 702s # */ 702s # gboolean 702s # org_project_bar_frobnicator_call_random_method_sync ( 702s # OrgProjectBarFrobnicator *proxy, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GVariant *_ret; 702s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 702s # "RandomMethod", 702s # g_variant_new ("()"), 702s # G_DBUS_CALL_FLAGS_NONE, 702s # -1, 702s # cancellable, 702s # error); 702s # if (_ret == NULL) 702s # goto _out; 702s # g_variant_get (_ret, 702s # "()"); 702s # g_variant_unref (_ret); 702s # _out: 702s # return _ret != NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_complete_random_method: 702s # * @object: A #OrgProjectBarFrobnicator. 702s # * @invocation: (transfer full): A #GDBusMethodInvocation. 702s # * 702s # * 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. 702s # * 702s # * This method will free @invocation, you cannot use it afterwards. 702s # */ 702s # void 702s # org_project_bar_frobnicator_complete_random_method ( 702s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 702s # GDBusMethodInvocation *invocation) 702s # { 702s # g_dbus_method_invocation_return_value (invocation, 702s # g_variant_new ("()")); 702s # } 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorProxy: 702s # * 702s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorProxyClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #OrgProjectBarFrobnicatorProxy. 702s # */ 702s # 702s # struct _OrgProjectBarFrobnicatorProxyPrivate 702s # { 702s # GData *qdata; 702s # }; 702s # 702s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 702s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 702s # 702s # #endif 702s # static void 702s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 702s # { 702s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 702s # g_datalist_clear (&proxy->priv->qdata); 702s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 702s # guint prop_id G_GNUC_UNUSED, 702s # GValue *value G_GNUC_UNUSED, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 702s # guint prop_id G_GNUC_UNUSED, 702s # const GValue *value G_GNUC_UNUSED, 702s # GParamSpec *pspec G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 702s # const gchar *sender_name G_GNUC_UNUSED, 702s # const gchar *signal_name, 702s # GVariant *parameters) 702s # { 702s # _ExtendedGDBusSignalInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # gsize n; 702s # guint signal_id; 702s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 702s # if (info == NULL) 702s # return; 702s # num_params = g_variant_n_children (parameters); 702s # paramv = g_new0 (GValue, num_params + 1); 702s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_set_object (¶mv[0], proxy); 702s # g_variant_iter_init (&iter, parameters); 702s # n = 1; 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_signal_emitv (paramv, signal_id, 0, NULL); 702s # for (n = 0; n < num_params + 1; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 702s # GVariant *changed_properties, 702s # const gchar *const *invalidated_properties) 702s # { 702s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 702s # guint n; 702s # const gchar *key; 702s # GVariantIter *iter; 702s # _ExtendedGDBusPropertyInfo *info; 702s # g_variant_get (changed_properties, "a{sv}", &iter); 702s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 702s # g_datalist_remove_data (&proxy->priv->qdata, key); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # g_variant_iter_free (iter); 702s # for (n = 0; invalidated_properties[n] != NULL; n++) 702s # { 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 702s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 702s # if (info != NULL) 702s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 702s # } 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 702s # #else 702s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 702s # #endif 702s # 702s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusProxyClass *proxy_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 702s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 702s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 702s # 702s # proxy_class = G_DBUS_PROXY_CLASS (klass); 702s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 702s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # org_project_bar_frobnicator_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_sync: 702s # * @connection: A #GDBusConnection. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 702s # * @user_data: User data to pass to @callback. 702s # * 702s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 702s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 702s # */ 702s # void 702s # org_project_bar_frobnicator_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data) 702s # { 702s # 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); 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 702s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 702s # * @error: Return location for error or %NULL 702s # * 702s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error) 702s # { 702s # GObject *ret; 702s # GObject *source_object; 702s # source_object = g_async_result_get_source_object (res); 702s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 702s # g_object_unref (source_object); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 702s # * @bus_type: A #GBusType. 702s # * @flags: Flags from the #GDBusProxyFlags enumeration. 702s # * @name: A bus name (well-known or unique). 702s # * @object_path: An object path. 702s # * @cancellable: (nullable): A #GCancellable or %NULL. 702s # * @error: Return location for error or %NULL 702s # * 702s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 702s # * 702s # * The calling thread is blocked until a reply is received. 702s # * 702s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error) 702s # { 702s # GInitable *ret; 702s # 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); 702s # if (ret != NULL) 702s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 702s # else 702s # return NULL; 702s # } 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorSkeleton: 702s # * 702s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 702s # */ 702s # 702s # /** 702s # * OrgProjectBarFrobnicatorSkeletonClass: 702s # * @parent_class: The parent class. 702s # * 702s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 702s # */ 702s # 702s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 702s # { 702s # GValue *properties; 702s # GList *changed_properties; 702s # GSource *changed_properties_idle_source; 702s # GMainContext *context; 702s # GMutex lock; 702s # }; 702s # 702s # static void 702s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name, 702s # const gchar *method_name, 702s # GVariant *parameters, 702s # GDBusMethodInvocation *invocation, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # _ExtendedGDBusMethodInfo *info; 702s # GVariantIter iter; 702s # GVariant *child; 702s # GValue *paramv; 702s # gsize num_params; 702s # guint num_extra; 702s # gsize n; 702s # guint signal_id; 702s # GValue return_value = G_VALUE_INIT; 702s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 702s # g_assert (info != NULL); 702s # num_params = g_variant_n_children (parameters); 702s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 702s # n = 0; 702s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_set_object (¶mv[n++], skeleton); 702s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 702s # g_value_set_object (¶mv[n++], invocation); 702s # if (info->pass_fdlist) 702s # { 702s # #ifdef G_OS_UNIX 702s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 702s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 702s # #else 702s # g_assert_not_reached (); 702s # #endif 702s # } 702s # g_variant_iter_init (&iter, parameters); 702s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 702s # { 702s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 702s # if (arg_info->use_gvariant) 702s # { 702s # g_value_init (¶mv[n], G_TYPE_VARIANT); 702s # g_value_set_variant (¶mv[n], child); 702s # n++; 702s # } 702s # else 702s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 702s # g_variant_unref (child); 702s # } 702s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 702s # g_value_init (&return_value, G_TYPE_BOOLEAN); 702s # g_signal_emitv (paramv, signal_id, 0, &return_value); 702s # if (!g_value_get_boolean (&return_value)) 702s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 702s # g_value_unset (&return_value); 702s # for (n = 0; n < num_params + num_extra; n++) 702s # g_value_unset (¶mv[n]); 702s # g_free (paramv); 702s # } 702s # 702s # static GVariant * 702s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # GVariant *ret; 702s # ret = NULL; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # g_value_init (&value, pspec->value_type); 702s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 702s # g_value_unset (&value); 702s # } 702s # return ret; 702s # } 702s # 702s # static gboolean 702s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 702s # GDBusConnection *connection G_GNUC_UNUSED, 702s # const gchar *sender G_GNUC_UNUSED, 702s # const gchar *object_path G_GNUC_UNUSED, 702s # const gchar *interface_name G_GNUC_UNUSED, 702s # const gchar *property_name, 702s # GVariant *variant, 702s # GError **error, 702s # gpointer user_data) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 702s # GValue value = G_VALUE_INIT; 702s # GParamSpec *pspec; 702s # _ExtendedGDBusPropertyInfo *info; 702s # gboolean ret; 702s # ret = FALSE; 702s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 702s # g_assert (info != NULL); 702s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 702s # if (pspec == NULL) 702s # { 702s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 702s # } 702s # else 702s # { 702s # if (info->use_gvariant) 702s # g_value_set_variant (&value, variant); 702s # else 702s # g_dbus_gvariant_to_gvalue (variant, &value); 702s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 702s # g_value_unset (&value); 702s # ret = TRUE; 702s # } 702s # return ret; 702s # } 702s # 702s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 702s # { 702s # _org_project_bar_frobnicator_skeleton_handle_method_call, 702s # _org_project_bar_frobnicator_skeleton_handle_get_property, 702s # _org_project_bar_frobnicator_skeleton_handle_set_property, 702s # {NULL} 702s # }; 702s # 702s # static GDBusInterfaceInfo * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return org_project_bar_frobnicator_interface_info (); 702s # } 702s # 702s # static GDBusInterfaceVTable * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 702s # { 702s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 702s # } 702s # 702s # static GVariant * 702s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 702s # 702s # GVariantBuilder builder; 702s # guint n; 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 702s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #else 702s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 702s # #endif 702s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 702s # goto out; 702s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 702s # { 702s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 702s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 702s # { 702s # GVariant *value; 702s # 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); 702s # if (value != NULL) 702s # { 702s # g_variant_take_ref (value); 702s # g_variant_builder_add (&builder, "{sv}", info->name, value); 702s # g_variant_unref (value); 702s # } 702s # } 702s # } 702s # out: 702s # return g_variant_builder_end (&builder); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 702s # 702s # #else 702s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 702s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 702s # 702s # #endif 702s # static void 702s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 702s # { 702s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 702s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 702s # if (skeleton->priv->changed_properties_idle_source != NULL) 702s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 702s # g_main_context_unref (skeleton->priv->context); 702s # g_mutex_clear (&skeleton->priv->lock); 702s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 702s # { 702s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 702s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 702s # #else 702s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 702s # #endif 702s # 702s # g_mutex_init (&skeleton->priv->lock); 702s # skeleton->priv->context = g_main_context_ref_thread_default (); 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 702s # { 702s # GObjectClass *gobject_class; 702s # GDBusInterfaceSkeletonClass *skeleton_class; 702s # 702s # gobject_class = G_OBJECT_CLASS (klass); 702s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 702s # 702s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 702s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 702s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 702s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 702s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 702s # 702s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 702s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 702s # #endif 702s # } 702s # 702s # static void 702s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 702s # { 702s # } 702s # 702s # /** 702s # * org_project_bar_frobnicator_skeleton_new: 702s # * 702s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 702s # * 702s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 702s # */ 702s # OrgProjectBarFrobnicator * 702s # org_project_bar_frobnicator_skeleton_new (void) 702s # { 702s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 702s # } 702s # Error: 702s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 702s # gdbus-codegen: /usr/bin/gdbus-codegen 702s # tmpdir: /tmp/tmpq98irqsp 702s # /tmp/tmpq98irqsp/tmpqs0yb8l_.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq98irqsp/tmpqs0yb8l_.xml', '--output', '-', '--header'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifndef __STDOUT__ 702s # #define __STDOUT__ 702s # 702s # #include 702s # 702s # G_BEGIN_DECLS 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for FDPassing */ 702s # 702s # #define TYPE_FDPASSING (fdpassing_get_type ()) 702s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 702s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 702s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 702s # 702s # struct _FDPassing; 702s # typedef struct _FDPassing FDPassing; 702s # typedef struct _FDPassingIface FDPassingIface; 702s # 702s # struct _FDPassingIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # gboolean (*handle_hello_fd) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *arg_greeting); 702s # 702s # gboolean (*handle_no_annotation) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale); 702s # 702s # gboolean (*handle_no_annotation_nested) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *arg_files); 702s # 702s # }; 702s # 702s # GType fdpassing_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *fdpassing_interface_info (void); 702s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void fdpassing_complete_hello_fd ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *response); 702s # 702s # void fdpassing_complete_no_annotation ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *response, 702s # const gchar *response_locale); 702s # 702s # void fdpassing_complete_no_annotation_nested ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void fdpassing_call_hello_fd ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GUnixFDList *fd_list, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_hello_fd_finish ( 702s # FDPassing *proxy, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_hello_fd_sync ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GUnixFDList *fd_list, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_finish ( 702s # FDPassing *proxy, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation_nested ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_finish ( 702s # FDPassing *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 702s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 702s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 702s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 702s # 702s # typedef struct _FDPassingProxy FDPassingProxy; 702s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 702s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 702s # 702s # struct _FDPassingProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # FDPassingProxyPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 702s # #endif 702s # 702s # void fdpassing_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 702s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 702s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 702s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 702s # 702s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 702s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 702s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 702s # 702s # struct _FDPassingSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # FDPassingSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 702s # #endif 702s # 702s # FDPassing *fdpassing_skeleton_new (void); 702s # 702s # 702s # G_END_DECLS 702s # 702s # #endif /* __STDOUT__ */ 702s # Error: 702s # 702s # /tmp/tmpq98irqsp/tmpfaba2xp5.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq98irqsp/tmpfaba2xp5.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifndef __STDOUT__ 702s # #define __STDOUT__ 702s # 702s # #include 702s # 702s # G_BEGIN_DECLS 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for FDPassing */ 702s # 702s # #define TYPE_FDPASSING (fdpassing_get_type ()) 702s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 702s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 702s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 702s # 702s # struct _FDPassing; 702s # typedef struct _FDPassing FDPassing; 702s # typedef struct _FDPassingIface FDPassingIface; 702s # 702s # struct _FDPassingIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # gboolean (*handle_hello_fd) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *arg_greeting); 702s # 702s # gboolean (*handle_no_annotation) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale); 702s # 702s # gboolean (*handle_no_annotation_nested) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *arg_files); 702s # 702s # }; 702s # 702s # GType fdpassing_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *fdpassing_interface_info (void); 702s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void fdpassing_complete_hello_fd ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *response); 702s # 702s # void fdpassing_complete_no_annotation ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GVariant *response, 702s # const gchar *response_locale); 702s # 702s # void fdpassing_complete_no_annotation_nested ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void fdpassing_call_hello_fd ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GUnixFDList *fd_list, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_hello_fd_finish ( 702s # FDPassing *proxy, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_hello_fd_sync ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GUnixFDList *fd_list, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_finish ( 702s # FDPassing *proxy, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation_nested ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_finish ( 702s # FDPassing *proxy, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 702s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 702s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 702s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 702s # 702s # typedef struct _FDPassingProxy FDPassingProxy; 702s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 702s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 702s # 702s # struct _FDPassingProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # FDPassingProxyPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 702s # #endif 702s # 702s # void fdpassing_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 702s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 702s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 702s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 702s # 702s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 702s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 702s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 702s # 702s # struct _FDPassingSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # FDPassingSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 702s # #endif 702s # 702s # FDPassing *fdpassing_skeleton_new (void); 702s # 702s # 702s # G_END_DECLS 702s # 702s # #endif /* __STDOUT__ */ 702s # Error: 702s # 702s # /tmp/tmpq98irqsp/tmpnqlmszmc.xml: 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # 702s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq98irqsp/tmpnqlmszmc.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 702s # Return code: 0 702s # Output: 702s # /* 702s # * This file is generated by gdbus-codegen, do not modify it. 702s # * 702s # * The license of this code is the same as for the D-Bus interface description 702s # * it was derived from. Note that it links to GLib, so must comply with the 702s # * LGPL linking clauses. 702s # */ 702s # 702s # #ifndef __STDOUT__ 702s # #define __STDOUT__ 702s # 702s # #include 702s # 702s # G_BEGIN_DECLS 702s # 702s # 702s # /* ------------------------------------------------------------------------ */ 702s # /* Declarations for FDPassing */ 702s # 702s # #define TYPE_FDPASSING (fdpassing_get_type ()) 702s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 702s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 702s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 702s # 702s # struct _FDPassing; 702s # typedef struct _FDPassing FDPassing; 702s # typedef struct _FDPassingIface FDPassingIface; 702s # 702s # struct _FDPassingIface 702s # { 702s # GTypeInterface parent_iface; 702s # 702s # gboolean (*handle_hello_fd) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *arg_greeting); 702s # 702s # gboolean (*handle_no_annotation) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale); 702s # 702s # gboolean (*handle_no_annotation_nested) ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # GVariant *arg_files); 702s # 702s # }; 702s # 702s # GType fdpassing_get_type (void) G_GNUC_CONST; 702s # 702s # GDBusInterfaceInfo *fdpassing_interface_info (void); 702s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 702s # 702s # 702s # /* D-Bus method call completion functions: */ 702s # void fdpassing_complete_hello_fd ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # const gchar *response); 702s # 702s # void fdpassing_complete_no_annotation ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list, 702s # GVariant *response, 702s # const gchar *response_locale); 702s # 702s # void fdpassing_complete_no_annotation_nested ( 702s # FDPassing *object, 702s # GDBusMethodInvocation *invocation, 702s # GUnixFDList *fd_list); 702s # 702s # 702s # 702s # /* D-Bus method calls: */ 702s # void fdpassing_call_hello_fd ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_hello_fd_finish ( 702s # FDPassing *proxy, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_hello_fd_sync ( 702s # FDPassing *proxy, 702s # const gchar *arg_greeting, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # gchar **out_response, 702s # GUnixFDList **out_fd_list, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_finish ( 702s # FDPassing *proxy, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GUnixFDList **out_fd_list, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_greeting, 702s # const gchar *arg_greeting_locale, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # GVariant **out_response, 702s # gchar **out_response_locale, 702s # GUnixFDList **out_fd_list, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_call_no_annotation_nested ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_finish ( 702s # FDPassing *proxy, 702s # GUnixFDList **out_fd_list, 702s # GAsyncResult *res, 702s # GError **error); 702s # 702s # gboolean fdpassing_call_no_annotation_nested_sync ( 702s # FDPassing *proxy, 702s # GVariant *arg_files, 702s # GDBusCallFlags call_flags, 702s # gint timeout_msec, 702s # GUnixFDList *fd_list, 702s # GUnixFDList **out_fd_list, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 702s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 702s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 702s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 702s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 702s # 702s # typedef struct _FDPassingProxy FDPassingProxy; 702s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 702s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 702s # 702s # struct _FDPassingProxy 702s # { 702s # /*< private >*/ 702s # GDBusProxy parent_instance; 702s # FDPassingProxyPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingProxyClass 702s # { 702s # GDBusProxyClass parent_class; 702s # }; 702s # 702s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 702s # #endif 702s # 702s # void fdpassing_proxy_new ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_sync ( 702s # GDBusConnection *connection, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # void fdpassing_proxy_new_for_bus ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GAsyncReadyCallback callback, 702s # gpointer user_data); 702s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 702s # GAsyncResult *res, 702s # GError **error); 702s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 702s # GBusType bus_type, 702s # GDBusProxyFlags flags, 702s # const gchar *name, 702s # const gchar *object_path, 702s # GCancellable *cancellable, 702s # GError **error); 702s # 702s # 702s # /* ---- */ 702s # 702s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 702s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 702s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 702s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 702s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 702s # 702s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 702s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 702s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 702s # 702s # struct _FDPassingSkeleton 702s # { 702s # /*< private >*/ 702s # GDBusInterfaceSkeleton parent_instance; 702s # FDPassingSkeletonPrivate *priv; 702s # }; 702s # 702s # struct _FDPassingSkeletonClass 702s # { 702s # GDBusInterfaceSkeletonClass parent_class; 702s # }; 702s # 702s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 702s # 702s # #if GLIB_CHECK_VERSION(2, 44, 0) 702s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 702s # #endif 702s # 702s # FDPassing *fdpassing_skeleton_new (void); 702s # 702s # 702s # G_END_DECLS 702s # 702s # #endif /* __STDOUT__ */ 702s # Error: 702s 1..39 702s ok - glib/codegen.py.test 702s # Running test: glib/hook.test 702s TAP version 14 702s # random seed: R02S648fb55da47ffb13329889d3a17b7323 702s 1..2 702s # Start of hook tests 702s ok 1 /hook/basics 702s ok 2 /hook/corner-cases 702s # End of hook tests 702s ok - glib/hook.test 702s # Running test: glib/macros-c-11.test 702s TAP version 14 702s # random seed: R02S9724dc44893dd1f1a186dd3d6d17cb73 702s 1..4 702s # Start of C tests 702s ok 1 /C/standard-11 702s # End of C tests 702s # Start of alignof tests 702s ok 2 /alignof/fallback 702s # End of alignof tests 702s # Start of assert tests 702s ok 3 /assert/static 702s # End of assert tests 702s # Start of struct tests 702s ok 4 /struct/sizeof_member 702s # End of struct tests 702s ok - glib/macros-c-11.test 702s # Running test: glib/base64.test 702s TAP version 14 702s # random seed: R02S39c6e7c5f0d0e257e5f258202671adce 702s 1..28 702s # Start of base64 tests 702s ok 1 /base64/encode 702s ok 2 /base64/decode 702s ok 3 /base64/decode-inplace 702s ok 4 /base64/encode-decode 702s # Start of full tests 702s ok 5 /base64/full/1 702s ok 6 /base64/full/2 702s ok 7 /base64/full/3 702s ok 8 /base64/full/4 702s # End of full tests 702s # Start of encode tests 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 702s ok 9 /base64/encode/empty 702s # Start of incremental tests 702s # Start of small-block tests 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 702s ok 10 /base64/encode/incremental/small-block/1 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 702s ok 11 /base64/encode/incremental/small-block/2 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 702s ok 12 /base64/encode/incremental/small-block/3 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 702s ok 13 /base64/encode/incremental/small-block/4 702s # End of small-block tests 702s # End of incremental tests 702s # End of encode tests 702s # Start of incremental tests 702s # Start of nobreak tests 702s ok 14 /base64/incremental/nobreak/1 702s ok 15 /base64/incremental/nobreak/2 702s ok 16 /base64/incremental/nobreak/3 702s ok 17 /base64/incremental/nobreak/4-a 702s ok 18 /base64/incremental/nobreak/4-b 702s ok 19 /base64/incremental/nobreak/4-c 702s # End of nobreak tests 702s # Start of break tests 702s ok 20 /base64/incremental/break/1 702s ok 21 /base64/incremental/break/2 702s ok 22 /base64/incremental/break/3 702s # End of break tests 702s # Start of smallblock tests 702s ok 23 /base64/incremental/smallblock/1 702s ok 24 /base64/incremental/smallblock/2 702s ok 25 /base64/incremental/smallblock/3 702s ok 26 /base64/incremental/smallblock/4 702s # End of smallblock tests 702s # End of incremental tests 702s # Start of decode tests 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 702s ok 27 /base64/decode/empty 702s # End of decode tests 702s # Start of encode-decode tests 702s # Vector 0: 702s # Vector 1: f 702s # Vector 2: fo 702s # Vector 3: foo 702s # Vector 4: foob 702s # Vector 5: fooba 702s # Vector 6: foobar 702s ok 28 /base64/encode-decode/rfc4648 702s # End of encode-decode tests 702s # End of base64 tests 702s ok - glib/base64.test 702s # Running test: glib/mem-overflow.test 702s TAP version 14 702s # random seed: R02Sf55f32241f66ba49e8a96824499e3915 702s 1..2 702s # Start of mem tests 702s ok 1 /mem/overflow 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 702s ok - glib/mem-overflow.test 702s ok 2 /mem/empty-alloc 702s # Start of overflow tests 702s # Start of subprocess tests 702s # End of subprocess tests 702s # End of overflow tests 702s # Start of empty-alloc tests 702s # End of empty-alloc tests 702s # End of mem tests 702s # Running test: glib/thread-deprecated.test 702s TAP version 14 702s # random seed: R02S5ee554ce7e3c13e4aef6e570b2164df4 702s 1..6 702s # Start of thread tests 702s ok 1 /thread/mutex 702s ok 2 /thread/static-rec-mutex 703s # Executing: glib/thread-deprecated.test 707s ok 3 /thread/static-private 707s # slow test /thread/static-private executed in 4.40 secs 708s # Executing: glib/thread-deprecated.test 712s ok 4 /thread/static-rw-lock 712s # slow test /thread/static-rw-lock executed in 5.00 secs 712s ok 5 /thread/once 713s # Executing: glib/thread-deprecated.test 718s # Executing: glib/thread-deprecated.test 722s ok 6 /thread/rerun-all 722s # slow test /thread/rerun-all executed in 10.02 secs 722s # End of thread tests 722s ok - glib/thread-deprecated.test 722s # Running test: glib/memory-monitor.test 722s TAP version 14 722s # random seed: R02Scee228aea7c02fe853b3d38b95a9fa99 722s 1..1 722s # Start of memory-monitor tests 722s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 722s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 722s ok 1 /memory-monitor/default 722s # End of memory-monitor tests 722s ok - glib/memory-monitor.test 722s # Running test: glib/genmarshal.py.test 722s TAP version 13 722s ok 1 __main__.TestGenmarshal.test_empty_list 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmp4cbkmxja 722s # /tmp/tmp4cbkmxja/tmpvzri1u2e.list: 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4cbkmxja/tmpvzri1u2e.list', '--header', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # #include 722s # 722s # G_BEGIN_DECLS 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4cbkmxja/tmpvzri1u2e.list', '--body', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #include 722s # 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # Error: 722s ok 2 __main__.TestGenmarshal.test_help 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmp83ytaf3j 722s # Running: ['/usr/bin/glib-genmarshal', '--help'] 722s # Return code: 0 722s # Output: 722s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 722s # [--internal] [--valist-marshallers] [-v] 722s # [--g-fatal-warnings] [--include-header [HEADER]] 722s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 722s # [--prototypes] [--header] [--body] [--stdinc | 722s # --nostdinc] [--quiet | --verbose] 722s # [FILE ...] 722s # 722s # Generate signal marshallers for GObject 722s # 722s # positional arguments: 722s # FILE Files with lists of marshallers to generate, or "-" 722s # for standard input 722s # 722s # options: 722s # -h, --help show this help message and exit 722s # --prefix STRING Specify marshaller prefix 722s # --output FILE Write output into the specified file 722s # --skip-source Skip source location comments 722s # --internal Mark generated functions as internal 722s # --valist-marshallers Generate va_list marshallers 722s # -v, --version Print version information, and exit 722s # --g-fatal-warnings Make warnings fatal 722s # --include-header [HEADER] 722s # Include the specified header in the body 722s # --pragma-once Use "pragma once" as the inclusion guard 722s # -D CPP_DEFINES Pre-processor define 722s # -U CPP_UNDEFINES Pre-processor undefine 722s # --prototypes Generate the marshallers prototype in the C code 722s # --header Generate C headers 722s # --body Generate C code 722s # --stdinc Include standard marshallers 722s # --nostdinc Use standard marshallers 722s # --quiet Only print warnings and errors 722s # --verbose Be verbose, and include debugging information 722s # Error: 722s ok 3 __main__.TestGenmarshal.test_no_args 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpng3axfqe 722s # Running: ['/usr/bin/glib-genmarshal'] 722s # Return code: 0 722s # Output: 722s # 722s # Error: 722s ok 4 __main__.TestGenmarshal.test_void_boolean 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpe42o0rjn 722s # /tmp/tmpe42o0rjn/tmpjrwpuc7x.list: VOID:BOOLEAN 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe42o0rjn/tmpjrwpuc7x.list', '--header', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # #include 722s # 722s # G_BEGIN_DECLS 722s # 722s # /* VOID:BOOLEAN (/tmp/tmpe42o0rjn/tmpjrwpuc7x.list:1) */ 722s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe42o0rjn/tmpjrwpuc7x.list', '--body', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #include 722s # 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # Error: 722s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpik_lzae1 722s # /tmp/tmpik_lzae1/tmpwk4c4vn3.list: VOID:BOOLEAN,INT64 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpik_lzae1/tmpwk4c4vn3.list', '--header', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # #include 722s # 722s # G_BEGIN_DECLS 722s # 722s # /* VOID:BOOLEAN,INT64 (/tmp/tmpik_lzae1/tmpwk4c4vn3.list:1) */ 722s # extern 722s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 722s # GValue *return_value, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint, 722s # gpointer marshal_data); 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpik_lzae1/tmpwk4c4vn3.list', '--body', '--quiet'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #include 722s # 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # 722s # /* VOID:BOOLEAN,INT64 (/tmp/tmpik_lzae1/tmpwk4c4vn3.list:1) */ 722s # void 722s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint G_GNUC_UNUSED, 722s # gpointer marshal_data) 722s # { 722s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 722s # gboolean arg1, 722s # gint64 arg2, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 722s # 722s # g_return_if_fail (n_param_values == 3); 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = g_value_peek_pointer (param_values + 0); 722s # } 722s # else 722s # { 722s # data1 = g_value_peek_pointer (param_values + 0); 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # g_marshal_value_peek_boolean (param_values + 1), 722s # g_marshal_value_peek_int64 (param_values + 2), 722s # data2); 722s # } 722s # Error: 722s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpfinrc0jr 722s # /tmp/tmpfinrc0jr/tmpjk7zvinm.list: VOID:PARAM 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfinrc0jr/tmpjk7zvinm.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # G_BEGIN_DECLS 722s # 722s # /* VOID:PARAM (/tmp/tmpfinrc0jr/tmpjk7zvinm.list:1) */ 722s # extern 722s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 722s # GValue *return_value, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint, 722s # gpointer marshal_data); 722s # extern 722s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 722s # GValue *return_value, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types); 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfinrc0jr/tmpjk7zvinm.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # 722s # /* VOID:PARAM (/tmp/tmpfinrc0jr/tmpjk7zvinm.list:1) */ 722s # void 722s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint G_GNUC_UNUSED, 722s # gpointer marshal_data) 722s # { 722s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__PARAM callback; 722s # 722s # g_return_if_fail (n_param_values == 2); 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = g_value_peek_pointer (param_values + 0); 722s # } 722s # else 722s # { 722s # data1 = g_value_peek_pointer (param_values + 0); 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # g_marshal_value_peek_param (param_values + 1), 722s # data2); 722s # } 722s # 722s # void 722s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types) 722s # { 722s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__PARAM callback; 722s # gpointer arg0; 722s # va_list args_copy; 722s # 722s # va_copy (args_copy, args); 722s # arg0 = (gpointer) va_arg (args_copy, gpointer); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # arg0 = g_param_spec_ref (arg0); 722s # va_end (args_copy); 722s # 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = instance; 722s # } 722s # else 722s # { 722s # data1 = instance; 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # arg0, 722s # data2); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # g_param_spec_unref (arg0); 722s # } 722s # Error: 722s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpaqbadnpu 722s # /tmp/tmpaqbadnpu/tmp60d9d8v7.list: VOID:STRING 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaqbadnpu/tmp60d9d8v7.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # G_BEGIN_DECLS 722s # 722s # /* VOID:STRING (/tmp/tmpaqbadnpu/tmp60d9d8v7.list:1) */ 722s # extern 722s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 722s # GValue *return_value, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint, 722s # gpointer marshal_data); 722s # extern 722s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 722s # GValue *return_value, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types); 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaqbadnpu/tmp60d9d8v7.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # 722s # /* VOID:STRING (/tmp/tmpaqbadnpu/tmp60d9d8v7.list:1) */ 722s # void 722s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint G_GNUC_UNUSED, 722s # gpointer marshal_data) 722s # { 722s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__STRING callback; 722s # 722s # g_return_if_fail (n_param_values == 2); 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = g_value_peek_pointer (param_values + 0); 722s # } 722s # else 722s # { 722s # data1 = g_value_peek_pointer (param_values + 0); 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # g_marshal_value_peek_string (param_values + 1), 722s # data2); 722s # } 722s # 722s # void 722s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types) 722s # { 722s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__STRING callback; 722s # gpointer arg0; 722s # va_list args_copy; 722s # 722s # va_copy (args_copy, args); 722s # arg0 = (gpointer) va_arg (args_copy, gpointer); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # arg0 = g_strdup (arg0); 722s # va_end (args_copy); 722s # 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = instance; 722s # } 722s # else 722s # { 722s # data1 = instance; 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # arg0, 722s # data2); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # g_free (arg0); 722s # } 722s # Error: 722s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 722s # glib-genmarshal: /usr/bin/glib-genmarshal 722s # tmpdir: /tmp/tmpzha_vb8h 722s # /tmp/tmpzha_vb8h/tmpclmuusws.list: VOID:VARIANT 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzha_vb8h/tmpclmuusws.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 722s # 722s # G_BEGIN_DECLS 722s # 722s # /* VOID:VARIANT (/tmp/tmpzha_vb8h/tmpclmuusws.list:1) */ 722s # extern 722s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 722s # GValue *return_value, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint, 722s # gpointer marshal_data); 722s # extern 722s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 722s # GValue *return_value, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types); 722s # 722s # 722s # G_END_DECLS 722s # 722s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 722s # Error: 722s # 722s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzha_vb8h/tmpclmuusws.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 722s # Return code: 0 722s # Output: 722s # /* 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. */ 722s # #ifdef G_ENABLE_DEBUG 722s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 722s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 722s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 722s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 722s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 722s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 722s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 722s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 722s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 722s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 722s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 722s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 722s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 722s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 722s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 722s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 722s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 722s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 722s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 722s # #else /* !G_ENABLE_DEBUG */ 722s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 722s # * Do not access GValues directly in your code. Instead, use the 722s # * g_value_get_*() functions 722s # */ 722s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 722s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 722s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 722s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 722s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 722s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 722s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 722s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 722s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 722s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 722s # #endif /* !G_ENABLE_DEBUG */ 722s # 722s # /* VOID:VARIANT (/tmp/tmpzha_vb8h/tmpclmuusws.list:1) */ 722s # void 722s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # guint n_param_values, 722s # const GValue *param_values, 722s # gpointer invocation_hint G_GNUC_UNUSED, 722s # gpointer marshal_data) 722s # { 722s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__VARIANT callback; 722s # 722s # g_return_if_fail (n_param_values == 2); 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = g_value_peek_pointer (param_values + 0); 722s # } 722s # else 722s # { 722s # data1 = g_value_peek_pointer (param_values + 0); 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # g_marshal_value_peek_variant (param_values + 1), 722s # data2); 722s # } 722s # 722s # void 722s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 722s # GValue *return_value G_GNUC_UNUSED, 722s # gpointer instance, 722s # va_list args, 722s # gpointer marshal_data, 722s # int n_params, 722s # GType *param_types) 722s # { 722s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 722s # gpointer arg1, 722s # gpointer data2); 722s # GCClosure *cc = (GCClosure *) closure; 722s # gpointer data1, data2; 722s # GMarshalFunc_VOID__VARIANT callback; 722s # gpointer arg0; 722s # va_list args_copy; 722s # 722s # va_copy (args_copy, args); 722s # arg0 = (gpointer) va_arg (args_copy, gpointer); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # arg0 = g_variant_ref_sink (arg0); 722s # va_end (args_copy); 722s # 722s # 722s # if (G_CCLOSURE_SWAP_DATA (closure)) 722s # { 722s # data1 = closure->data; 722s # data2 = instance; 722s # } 722s # else 722s # { 722s # data1 = instance; 722s # data2 = closure->data; 722s # } 722s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 722s # 722s # callback (data1, 722s # arg0, 722s # data2); 722s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 722s # g_variant_unref (arg0); 722s # } 722s # Error: 722s 1..8 723s ok - glib/genmarshal.py.test 723s # Running test: glib/environment.test 723s TAP version 14 723s # random seed: R02S12d0e4b79b7be028909f86b419768eb0 723s 1..6 723s # Start of environ tests 723s # /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. 723s ok 1 /environ/listenv 723s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 723s ok 2 /environ/getenv 723s ok 3 /environ/setenv 723s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 723s ok 4 /environ/array 723s # /environ/null summary: Test getting and setting variables on a NULL envp array. 723s ok 5 /environ/null 723s # /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. 723s ok 6 /environ/case 723s # End of environ tests 723s ok - glib/environment.test 723s # Running test: glib/gdbus-names.test 723s TAP version 14 723s # random seed: R02S80caf162ca985e45059490e1dc91d91b 723s 1..10 723s # Start of gdbus tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/validate-names/.dirs/runtime 723s ok 1 /gdbus/validate-names 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-own-name/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 2 /gdbus/bus-own-name 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 3 /gdbus/bus-watch-name 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 4 /gdbus/bus-watch-name-auto-start 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s dbus-daemon[4231]: [session uid=1000 pid=4231 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4222 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 723s # Acquired a message bus connection 723s dbus-daemon[4231]: [session uid=1000 pid=4231 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 723s # Acquired the name org.gtk.GDBus.FakeService 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 6 /gdbus/bus-watch-name-closures 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 7 /gdbus/bus-watch-name-closures-auto-start 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-watch-different-context/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 8 /gdbus/bus-watch-different-context 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/bus-unwatch-early/.dirs/runtime 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 9 /gdbus/bus-unwatch-early 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B54152/gdbus/escape-object-path/.dirs/runtime 723s ok 10 /gdbus/escape-object-path 723s # End of gdbus tests 723s ok - glib/gdbus-names.test 723s # Running test: glib/gdbus-connection.test 723s TAP version 14 723s # random seed: R02Sc768dd43ddbf9e8cbe23a08d72971f81 723s 1..9 723s # Start of gdbus tests 723s # Start of connection tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/bus-failure/.dirs/runtime 723s ok 1 /gdbus/connection/bus-failure 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/basic/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 2 /gdbus/connection/basic 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/life-cycle/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 3 /gdbus/connection/life-cycle 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/send/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 4 /gdbus/connection/send 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/signals/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 5 /gdbus/connection/signals 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/signal-match-rules/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 6 /gdbus/connection/signal-match-rules 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/filter/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 7 /gdbus/connection/filter 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/serials/.dirs/runtime 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 8 /gdbus/connection/serials 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_86X652/gdbus/connection/cancel/.dirs/runtime 723s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 9 /gdbus/connection/cancel 723s # End of connection tests 723s # End of gdbus tests 723s ok - glib/gdbus-connection.test 723s # Running test: glib/atomic-c-11.test 723s TAP version 14 723s # random seed: R02S3c8332b0a40d910af13628913967df71 723s 1..2 723s # Start of atomic tests 723s ok 1 /atomic/types 723s ok 2 /atomic/threaded 723s # End of atomic tests 723s ok - glib/atomic-c-11.test 723s # Running test: glib/gdbus-proxy-well-known-name.test 723s TAP version 14 723s # random seed: R02S77df37f64862d5d7846786c39261ac43 723s 1..1 723s # Start of gdbus tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_ODRW52/gdbus/proxy-well-known-name/.dirs/runtime 723s # Executing: glib/gdbus-proxy-well-known-name.test 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 723s ok 1 /gdbus/proxy-well-known-name 723s # End of gdbus tests 723s ok - glib/gdbus-proxy-well-known-name.test 723s # Running test: glib/memory-monitor-dbus.test 723s TAP version 13 723s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 723s 1..1 723s ok - glib/memory-monitor-dbus.test 723s # Running test: glib/autoptr.test 723s TAP version 14 723s # random seed: R02S816210d6abd9ace269083cc1cedb5677 723s 1..6 723s # Start of autoptr tests 723s ok 1 /autoptr/autoptr 723s ok 2 /autoptr/autoptr_steal 723s ok 3 /autoptr/autolist 723s ok 4 /autoptr/autoslist 723s ok - glib/autoptr.test 723s ok 5 /autoptr/autoqueue 723s ok 6 /autoptr/autoclass 723s # End of autoptr tests 723s # Running test: glib/messages-low-memory.py.test 723s TAP version 13 723s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 723s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 723s # tmpdir: /tmp/tmpd8n5elmf 723s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 723s # Return code: -6 723s # Output: 723s # 723s # Error: 723s # GLib-Message: 20:55:08.462: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 723s # GLib-Message: 20:55:08.462: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 723s # ../../../glib/gprintf.c:350: failed to allocate memory 723s 1..1 723s ok - glib/messages-low-memory.py.test 723s # Running test: glib/dataset.test 723s TAP version 14 723s # random seed: R02S55171556ebbf68a470b68e00ae88e975 723s 1..14 723s # Start of quark tests 723s ok 1 /quark/basic 723s ok 2 /quark/string 723s # End of quark tests 723s # Start of dataset tests 723s ok 3 /dataset/basic 723s ok 4 /dataset/id 723s ok 5 /dataset/full 723s ok 6 /dataset/foreach 723s ok 7 /dataset/destroy 723s # End of dataset tests 723s # Start of datalist tests 723s ok 8 /datalist/basic 723s ok 9 /datalist/id 723s ok 10 /datalist/recursive-clear 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 723s ok 11 /datalist/id-remove-multiple 723s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 723s ok 12 /datalist/id-remove-multiple-destroy-order 723s ok 13 /datalist/update-atomic 723s # Start of id-remove-multiple tests 723s ok 14 /datalist/id-remove-multiple/resize 723s # End of id-remove-multiple tests 723s # End of datalist tests 723s ok - glib/dataset.test 723s # Running test: glib/markup-collect.test 723s TAP version 14 723s # random seed: R02S2f29c219b3a97710d087b0991a1b6ec8 723s 1..21 723s # Start of markup tests 723s # Start of collect tests 723s ok 1 /markup/collect/0 723s ok 2 /markup/collect/1 723s ok 3 /markup/collect/2 723s ok 4 /markup/collect/3 723s ok 5 /markup/collect/4 723s ok 6 /markup/collect/5 723s ok 7 /markup/collect/6 723s ok 8 /markup/collect/7 723s ok 9 /markup/collect/8 723s ok 10 /markup/collect/9 723s ok 11 /markup/collect/10 723s ok 12 /markup/collect/11 723s ok 13 /markup/collect/12 723s ok 14 /markup/collect/13 723s ok 15 /markup/collect/14 723s ok 16 /markup/collect/15 723s ok - glib/markup-collect.test 723s # Running test: glib/cxx-17.test 723s ok - glib/cxx-17.test 723s ok 17 /markup/collect/16 723s ok 18 /markup/collect/17 723s ok 19 /markup/collect/18 723s ok 20 /markup/collect/19 723s ok 21 /markup/collect/cleanup 723s # End of collect tests 723s # End of markup tests 723s TAP version 14 723s # random seed: R02S6a3963b3d05bc4add2e8e3965e0ac3ea 723s 1..2 723s # Start of gtask tests 723s # 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. 723s ok 1 /gtask/name 723s # Start of name tests 723s # 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. 723s ok 2 /gtask/name/macro-wrapper 723s # End of name tests 723s # End of gtask tests 723s # Running test: glib/sleepy-stream.test 723s ok - glib/sleepy-stream.test 723s # Running test: glib/642026-ec.test 723s TAP version 14 723s # random seed: R02S613728ac760da4d83e51f5eca87a2ed3 723s 1..2 723s # Start of filter-stream tests 723s ok 1 /filter-stream/input 723s ok 2 /filter-stream/async 723s # End of filter-stream tests 723s TAP version 14 723s # random seed: R02S73531488f11ea762e862fc53d90b8c4a 723s 1..1 723s # Start of glib tests 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 723s ok 1 /glib/642026 723s # End of glib tests 723s ok - glib/642026-ec.test 723s # Running test: glib/mutex.test 723s TAP version 14 723s # random seed: R02Sf643b347b58ee3bfa36b505311815f6d 723s 1..17 723s # Start of thread tests 723s ok 1 /thread/mutex1 723s ok 2 /thread/mutex2 723s ok 3 /thread/mutex3 723s ok 4 /thread/mutex4 727s ok 5 /thread/mutex5 727s # slow test /thread/mutex5 executed in 3.87 secs 727s # Start of mutex tests 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # /thread/mutex/errno summary: Validates that errno is not touched upon return 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 727s ok 6 /thread/mutex/errno 727s # Start of perf tests 727s # max perf: 1.000000 mips 727s ok 7 /thread/mutex/perf/uncontended 727s # Start of contended tests 727s # max perf: inf mips 727s ok 8 /thread/mutex/perf/contended/1 727s # max perf: inf mips 727s ok 9 /thread/mutex/perf/contended/2 727s # max perf: 2.000000 mips 727s ok 10 /thread/mutex/perf/contended/3 727s # max perf: 5.000000 mips 727s ok 11 /thread/mutex/perf/contended/4 727s # max perf: 6.000000 mips 727s ok 12 /thread/mutex/perf/contended/5 727s # max perf: 0.048951 mips 727s ok 13 /thread/mutex/perf/contended/6 727s # max perf: inf mips 727s ok 14 /thread/mutex/perf/contended/7 727s # max perf: 9.000000 mips 727s ok 15 /thread/mutex/perf/contended/8 727s # max perf: 5.000000 mips 727s ok 16 /thread/mutex/perf/contended/9 727s # max perf: 2.200000 mips 727s ok 17 /thread/mutex/perf/contended/10 727s # End of contended tests 727s # End of perf tests 727s # End of mutex tests 727s # End of thread tests 727s ok - glib/mutex.test 727s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 727s TAP version 14 727s # random seed: R02Se083343e2c51262c3480c2cd609be152 727s 1..8 727s # Start of gdbus tests 727s # Start of codegen tests 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/annotations/.dirs/runtime 727s ok 1 /gdbus/codegen/annotations 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/interface_stability/.dirs/runtime 727s ok 2 /gdbus/codegen/interface_stability 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/object-manager/.dirs/runtime 727s ok 3 /gdbus/codegen/object-manager 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/property-naming/.dirs/runtime 727s ok 4 /gdbus/codegen/property-naming 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/autocleanups/.dirs/runtime 727s ok 5 /gdbus/codegen/autocleanups 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/deprecations/.dirs/runtime 727s ok 6 /gdbus/codegen/deprecations 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/standalone-interface-info/.dirs/runtime 727s ok 7 /gdbus/codegen/standalone-interface-info 727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/home 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/cache 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/system-config2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/config 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/system-data2 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/data 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/state 727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XLLC62/gdbus/codegen/unix-fd-list/.dirs/runtime 727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 727s ok 8 /gdbus/codegen/unix-fd-list 727s # End of codegen tests 727s # End of gdbus tests 727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 727s ok - glib/gdbus-test-codegen-min-required-2-64.test 727s # Running test: glib/atomic-c-17.test 727s TAP version 14 727s # random seed: R02Sf6e848d392705de42bf0f70d712242ed 727s 1..2 727s # Start of atomic tests 727s ok 1 /atomic/types 727s ok - glib/atomic-c-17.test 727s ok 2 /atomic/threaded 727s # End of atomic tests 727s # Running test: glib/network-monitor-race.test 727s TAP version 14 727s # random seed: R02S844b7f792f8c23ad1d5fc0457c2284a4 727s 1..1 727s # Start of network-monitor tests 727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 728s # Executing: glib/network-monitor-race.test 730s ok 1 /network-monitor/create-in-thread 730s # slow test /network-monitor/create-in-thread executed in 2.15 secs 730s # End of network-monitor tests 730s ok - glib/network-monitor-race.test 730s # Running test: glib/gdbus-proxy.test 730s TAP version 14 730s # random seed: R02S0a9e2a3ff8bafa9c0479b99aff897769 730s 1..5 730s # Start of gdbus tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/.dirs/runtime 731s ok 1 /gdbus/proxy 731s # slow test /gdbus/proxy executed in 1.72 secs 731s # Start of proxy tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-properties/.dirs/runtime 731s ok 2 /gdbus/proxy/no-properties 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/wellknown-noauto/.dirs/runtime 731s ok 3 /gdbus/proxy/wellknown-noauto 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/async/.dirs/runtime 733s # Executing: glib/gdbus-proxy.test 733s ok 4 /gdbus/proxy/async 733s # slow test /gdbus/proxy/async executed in 1.72 secs 733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/home 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/cache 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/system-config2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/config 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/system-data2 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/data 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/state 733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LTX652/gdbus/proxy/no-match-rule/.dirs/runtime 733s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 735s ok 5 /gdbus/proxy/no-match-rule 735s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 735s # End of proxy tests 735s # End of gdbus tests 735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 735s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 735s ok - glib/gdbus-proxy.test 735s # Running test: glib/tls-certificate.test 735s TAP version 14 735s # random seed: R02S0576e2f719ab5c5269dc10e9d25fdbc1 735s 1..19 735s # Start of tls-certificate tests 735s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 735s ok 1 /tls-certificate/pem-parser 735s ok 2 /tls-certificate/pem-parser-handles-chain 735s ok 3 /tls-certificate/from_file 735s ok 4 /tls-certificate/from_files 735s ok 5 /tls-certificate/from_files_crlf 735s ok 6 /tls-certificate/from_files_pkcs8 735s ok 7 /tls-certificate/from_files_pkcs8enc 735s ok 8 /tls-certificate/list_from_file 735s ok 9 /tls-certificate/pkcs11-uri 735s ok 10 /tls-certificate/pkcs11-uri-unsupported 735s ok 11 /tls-certificate/from_pkcs12 735s ok 12 /tls-certificate/from_pkcs12_file 735s ok 13 /tls-certificate/not-valid-before 735s ok 14 /tls-certificate/not-valid-after 735s ok 15 /tls-certificate/subject-name 735s ok 16 /tls-certificate/issuer-name 735s ok 17 /tls-certificate/dns-names 735s ok 18 /tls-certificate/ip-addresses 735s ok 19 /tls-certificate/pem-parser-no-sentinel 735s # End of tls-certificate tests 735s ok - glib/tls-certificate.test 735s # Running test: glib/performance.test 738s # Executing: glib/performance.test 742s simple-construction: Millions of constructed objects per second: 17.290 743s # Executing: glib/performance.test 745s simple-construction1: Millions of constructed objects per second: 70.112 748s # Executing: glib/performance.test 749s complex-construction: Millions of constructed objects per second: 5.791 753s # Executing: glib/performance.test 754s complex-construction1: Millions of constructed objects per second: 10.726 758s # Executing: glib/performance.test 760s complex-construction2: Millions of constructed objects per second: 12.888 761s finalization: Millions of finalized objects per second: 3.125 762s type-check: Million type checks per second: 102.47 763s # Executing: glib/performance.test 763s emit-unhandled: Emissions per second: 4632845 765s emit-unhandled-empty: Emissions per second: 26019782 766s emit-unhandled-generic: Emissions per second: 5950419 767s emit-unhandled-generic-empty: Emissions per second: 26068615 768s # Executing: glib/performance.test 768s emit-unhandled-args: Emissions per second: 4101269 769s emit-handled: Emissions per second: 3207701 771s emit-handled-empty: Emissions per second: 3320892 772s emit-handled-generic: Emissions per second: 3293194 773s # Executing: glib/performance.test 773s emit-handled-generic-empty: Emissions per second: 5337254 774s emit-handled-args: Emissions per second: 2952530 775s notify-unhandled: Notify (unhandled) per second: 26907804 777s notify-by-pspec-unhandled: Notify (unhandled) per second: 93164916 778s # Executing: glib/performance.test 778s notify-handled: Notify per second: 1953593 779s notify-by-pspec-handled: Notify per second: 2079053 780s property-set: Property set per second: 13808481 781s property-set-signaled: Property set per second: 2944709 783s property-get: Property get per second: 13654741 783s # Executing: glib/performance.test 784s refcount: Million refs+unref per second: 27.34 785s refcount-1: Million refs+unref per second: 83.69 786s refcount-toggle: Million refs+unref per second: 42.99 786s ok - glib/performance.test 786s # Running test: glib/memory-settings-backend.test 786s TAP version 14 786s # random seed: R02S7c0811d266f29bcf90d2d46ce744b1bb 786s 1..1 786s # Start of memory-settings-backend tests 786s ok 1 /memory-settings-backend/extension-point-registered 786s # End of memory-settings-backend tests 786s ok - glib/memory-settings-backend.test 786s # Running test: glib/g-file-info-filesystem-readonly.test 786s TAP version 14 786s # random seed: R02S875b05a4fe484f426656eb3c0a3881b2 786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 786s 1..2 786s # Start of g-file-info-filesystem-readonly tests 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 786s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_NVJ952/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 786s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 786s # End of g-file-info-filesystem-readonly tests 786s TAP version 14 786s # random seed: R02Sbb6129e089c391c47417c0f965d69395 786s ** 786s 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?") 786s # 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?") 786s TAP version 14 786s # random seed: R02S0f91f53d4dda553c921ac6d4eb7db883 786s 1..1851 786s # Start of checksum tests 786s ok 1 /checksum/unsupported 786s # Start of MD5 tests 786s ok 2 /checksum/MD5/0 786s ok 3 /checksum/MD5/1 786s ok 4 /checksum/MD5/2 786s ok 5 /checksum/MD5/3 786s ok 6 /checksum/MD5/4 786s ok 7 /checksum/MD5/5 786s ok 8 /checksum/MD5/6 786s ok 9 /checksum/MD5/7 786s ok 10 /checksum/MD5/8 786s ok 11 /checksum/MD5/9 786s ok 12 /checksum/MD5/10 786s ok 13 /checksum/MD5/11 786s ok 14 /checksum/MD5/12 786s ok 15 /checksum/MD5/13 786s ok 16 /checksum/MD5/14 786s ok 17 /checksum/MD5/15 786s ok 18 /checksum/MD5/16 786s ok 19 /checksum/MD5/17 786s ok 20 /checksum/MD5/18 786s ok 21 /checksum/MD5/19 786s ok 22 /checksum/MD5/20 786s ok 23 /checksum/MD5/21 786s ok 24 /checksum/MD5/22 786s ok 25 /checksum/MD5/23 786s ok 26 /checksum/MD5/24 786s ok 27 /checksum/MD5/25 786s ok 28 /checksum/MD5/26 786s ok 29 /checksum/MD5/27 786s ok 30 /checksum/MD5/28 786s ok 31 /checksum/MD5/29 786s ok 32 /checksum/MD5/30 786s ok 33 /checksum/MD5/31 786s ok 34 /checksum/MD5/32 786s ok 35 /checksum/MD5/33 786s ok 36 /checksum/MD5/34 786s ok 37 /checksum/MD5/35 786s ok 38 /checksum/MD5/36 786s ok 39 /checksum/MD5/37 786s ok 40 /checksum/MD5/38 786s ok 41 /checksum/MD5/39 786s ok 42 /checksum/MD5/40 786s ok 43 /checksum/MD5/41 786s ok 44 /checksum/MD5/42 786s ok 45 /checksum/MD5/43 786s ok 46 /checksum/MD5/44 786s ok 47 /checksum/MD5/45 786s ok 48 /checksum/MD5/46 786s ok 49 /checksum/MD5/47 786s ok 50 /checksum/MD5/48 786s ok 51 /checksum/MD5/49 786s ok 52 /checksum/MD5/50 786s ok 53 /checksum/MD5/51 786s ok 54 /checksum/MD5/52 786s ok 55 /checksum/MD5/53 786s ok 56 /checksum/MD5/54 786s ok 57 /checksum/MD5/55 786s ok 58 /checksum/MD5/56 786s ok 59 /checksum/MD5/57 786s ok 60 /checksum/MD5/58 786s ok 61 /checksum/MD5/59 786s ok - glib/g-file-info-filesystem-readonly.test 786s # Running test: glib/testing-nonfatal.test 786s ok - glib/testing-nonfatal.test 786s # Running test: glib/checksum.test 786s ok 62 /checksum/MD5/60 786s ok 63 /checksum/MD5/61 786s ok 64 /checksum/MD5/62 786s ok 65 /checksum/MD5/63 786s ok 66 /checksum/MD5/64 786s ok 67 /checksum/MD5/65 786s ok 68 /checksum/MD5/66 786s ok 69 /checksum/MD5/67 786s ok 70 /checksum/MD5/68 786s ok 71 /checksum/MD5/69 786s ok 72 /checksum/MD5/70 786s ok 73 /checksum/MD5/71 786s ok 74 /checksum/MD5/72 786s ok 75 /checksum/MD5/73 786s ok 76 /checksum/MD5/74 786s ok 77 /checksum/MD5/75 786s ok 78 /checksum/MD5/76 786s ok 79 /checksum/MD5/77 786s ok 80 /checksum/MD5/78 786s ok 81 /checksum/MD5/79 786s ok 82 /checksum/MD5/80 786s ok 83 /checksum/MD5/81 786s ok 84 /checksum/MD5/82 786s ok 85 /checksum/MD5/83 786s ok 86 /checksum/MD5/84 786s ok 87 /checksum/MD5/85 786s ok 88 /checksum/MD5/86 786s ok 89 /checksum/MD5/87 786s ok 90 /checksum/MD5/88 786s ok 91 /checksum/MD5/89 786s ok 92 /checksum/MD5/90 786s ok 93 /checksum/MD5/91 786s ok 94 /checksum/MD5/92 786s ok 95 /checksum/MD5/93 786s ok 96 /checksum/MD5/94 786s ok 97 /checksum/MD5/95 786s ok 98 /checksum/MD5/96 786s ok 99 /checksum/MD5/97 786s ok 100 /checksum/MD5/98 786s ok 101 /checksum/MD5/99 786s ok 102 /checksum/MD5/100 786s ok 103 /checksum/MD5/101 786s ok 104 /checksum/MD5/102 786s ok 105 /checksum/MD5/103 786s ok 106 /checksum/MD5/104 786s ok 107 /checksum/MD5/105 786s ok 108 /checksum/MD5/106 786s ok 109 /checksum/MD5/107 786s ok 110 /checksum/MD5/108 786s ok 111 /checksum/MD5/109 786s ok 112 /checksum/MD5/110 786s ok 113 /checksum/MD5/111 786s ok 114 /checksum/MD5/112 786s ok 115 /checksum/MD5/113 786s ok 116 /checksum/MD5/114 786s ok 117 /checksum/MD5/115 786s ok 118 /checksum/MD5/116 786s ok 119 /checksum/MD5/117 786s ok 120 /checksum/MD5/118 786s ok 121 /checksum/MD5/119 786s ok 122 /checksum/MD5/120 786s ok 123 /checksum/MD5/121 786s ok 124 /checksum/MD5/122 786s ok 125 /checksum/MD5/123 786s ok 126 /checksum/MD5/124 786s ok 127 /checksum/MD5/125 786s ok 128 /checksum/MD5/126 786s ok 129 /checksum/MD5/127 786s ok 130 /checksum/MD5/128 786s ok 131 /checksum/MD5/129 786s ok 132 /checksum/MD5/130 786s ok 133 /checksum/MD5/131 786s ok 134 /checksum/MD5/132 786s ok 135 /checksum/MD5/133 786s ok 136 /checksum/MD5/134 786s ok 137 /checksum/MD5/135 786s ok 138 /checksum/MD5/136 786s ok 139 /checksum/MD5/137 786s ok 140 /checksum/MD5/138 786s ok 141 /checksum/MD5/139 786s ok 142 /checksum/MD5/140 786s ok 143 /checksum/MD5/141 786s ok 144 /checksum/MD5/142 786s ok 145 /checksum/MD5/143 786s ok 146 /checksum/MD5/144 786s ok 147 /checksum/MD5/145 786s ok 148 /checksum/MD5/146 786s ok 149 /checksum/MD5/147 786s ok 150 /checksum/MD5/148 786s ok 151 /checksum/MD5/149 786s ok 152 /checksum/MD5/150 786s ok 153 /checksum/MD5/151 786s ok 154 /checksum/MD5/152 786s ok 155 /checksum/MD5/153 786s ok 156 /checksum/MD5/154 786s ok 157 /checksum/MD5/155 786s ok 158 /checksum/MD5/156 786s ok 159 /checksum/MD5/157 786s ok 160 /checksum/MD5/158 786s ok 161 /checksum/MD5/159 786s ok 162 /checksum/MD5/160 786s ok 163 /checksum/MD5/161 786s ok 164 /checksum/MD5/162 786s ok 165 /checksum/MD5/163 786s ok 166 /checksum/MD5/164 786s ok 167 /checksum/MD5/165 786s ok 168 /checksum/MD5/166 786s ok 169 /checksum/MD5/167 786s ok 170 /checksum/MD5/168 786s ok 171 /checksum/MD5/169 786s ok 172 /checksum/MD5/170 786s ok 173 /checksum/MD5/171 786s ok 174 /checksum/MD5/172 786s ok 175 /checksum/MD5/173 786s ok 176 /checksum/MD5/174 786s ok 177 /checksum/MD5/175 786s ok 178 /checksum/MD5/176 786s ok 179 /checksum/MD5/177 786s ok 180 /checksum/MD5/178 786s ok 181 /checksum/MD5/179 786s ok 182 /checksum/MD5/180 786s ok 183 /checksum/MD5/181 786s ok 184 /checksum/MD5/182 786s ok 185 /checksum/MD5/183 786s ok 186 /checksum/MD5/string 786s ok 187 /checksum/MD5/bytes 786s # Start of reset tests 786s ok 188 /checksum/MD5/reset/0 786s ok 189 /checksum/MD5/reset/1 786s ok 190 /checksum/MD5/reset/2 786s ok 191 /checksum/MD5/reset/3 786s ok 192 /checksum/MD5/reset/4 786s ok 193 /checksum/MD5/reset/5 786s ok 194 /checksum/MD5/reset/6 786s ok 195 /checksum/MD5/reset/7 786s ok 196 /checksum/MD5/reset/8 786s ok 197 /checksum/MD5/reset/9 786s ok 198 /checksum/MD5/reset/10 786s ok 199 /checksum/MD5/reset/11 786s ok 200 /checksum/MD5/reset/12 786s ok 201 /checksum/MD5/reset/13 786s ok 202 /checksum/MD5/reset/14 786s ok 203 /checksum/MD5/reset/15 786s ok 204 /checksum/MD5/reset/16 786s ok 205 /checksum/MD5/reset/17 786s ok 206 /checksum/MD5/reset/18 786s ok 207 /checksum/MD5/reset/19 786s ok 208 /checksum/MD5/reset/20 786s ok 209 /checksum/MD5/reset/21 786s ok 210 /checksum/MD5/reset/22 786s ok 211 /checksum/MD5/reset/23 786s ok 212 /checksum/MD5/reset/24 786s ok 213 /checksum/MD5/reset/25 786s ok 214 /checksum/MD5/reset/26 786s ok 215 /checksum/MD5/reset/27 786s ok 216 /checksum/MD5/reset/28 786s ok 217 /checksum/MD5/reset/29 786s ok 218 /checksum/MD5/reset/30 786s ok 219 /checksum/MD5/reset/31 786s ok 220 /checksum/MD5/reset/32 786s ok 221 /checksum/MD5/reset/33 786s ok 222 /checksum/MD5/reset/34 786s ok 223 /checksum/MD5/reset/35 786s ok 224 /checksum/MD5/reset/36 786s ok 225 /checksum/MD5/reset/37 786s ok 226 /checksum/MD5/reset/38 786s ok 227 /checksum/MD5/reset/39 786s ok 228 /checksum/MD5/reset/40 786s ok 229 /checksum/MD5/reset/41 786s ok 230 /checksum/MD5/reset/42 786s ok 231 /checksum/MD5/reset/43 786s ok 232 /checksum/MD5/reset/44 786s ok 233 /checksum/MD5/reset/45 786s ok 234 /checksum/MD5/reset/46 786s ok 235 /checksum/MD5/reset/47 786s ok 236 /checksum/MD5/reset/48 786s ok 237 /checksum/MD5/reset/49 786s ok 238 /checksum/MD5/reset/50 786s ok 239 /checksum/MD5/reset/51 786s ok 240 /checksum/MD5/reset/52 786s ok 241 /checksum/MD5/reset/53 786s ok 242 /checksum/MD5/reset/54 786s ok 243 /checksum/MD5/reset/55 786s ok 244 /checksum/MD5/reset/56 786s ok 245 /checksum/MD5/reset/57 786s ok 246 /checksum/MD5/reset/58 786s ok 247 /checksum/MD5/reset/59 786s ok 248 /checksum/MD5/reset/60 786s ok 249 /checksum/MD5/reset/61 786s ok 250 /checksum/MD5/reset/62 786s ok 251 /checksum/MD5/reset/63 786s ok 252 /checksum/MD5/reset/64 786s ok 253 /checksum/MD5/reset/65 786s ok 254 /checksum/MD5/reset/66 786s ok 255 /checksum/MD5/reset/67 786s ok 256 /checksum/MD5/reset/68 786s ok 257 /checksum/MD5/reset/69 786s ok 258 /checksum/MD5/reset/70 786s ok 259 /checksum/MD5/reset/71 786s ok 260 /checksum/MD5/reset/72 786s ok 261 /checksum/MD5/reset/73 786s ok 262 /checksum/MD5/reset/74 786s ok 263 /checksum/MD5/reset/75 786s ok 264 /checksum/MD5/reset/76 786s ok 265 /checksum/MD5/reset/77 786s ok 266 /checksum/MD5/reset/78 786s ok 267 /checksum/MD5/reset/79 786s ok 268 /checksum/MD5/reset/80 786s ok 269 /checksum/MD5/reset/81 786s ok 270 /checksum/MD5/reset/82 786s ok 271 /checksum/MD5/reset/83 786s ok 272 /checksum/MD5/reset/84 786s ok 273 /checksum/MD5/reset/85 786s ok 274 /checksum/MD5/reset/86 786s ok 275 /checksum/MD5/reset/87 786s ok 276 /checksum/MD5/reset/88 786s ok 277 /checksum/MD5/reset/89 786s ok 278 /checksum/MD5/reset/90 786s ok 279 /checksum/MD5/reset/91 786s ok 280 /checksum/MD5/reset/92 786s ok 281 /checksum/MD5/reset/93 786s ok 282 /checksum/MD5/reset/94 786s ok 283 /checksum/MD5/reset/95 786s ok 284 /checksum/MD5/reset/96 786s ok 285 /checksum/MD5/reset/97 786s ok 286 /checksum/MD5/reset/98 786s ok 287 /checksum/MD5/reset/99 786s ok 288 /checksum/MD5/reset/100 786s ok 289 /checksum/MD5/reset/101 786s ok 290 /checksum/MD5/reset/102 786s ok 291 /checksum/MD5/reset/103 786s ok 292 /checksum/MD5/reset/104 786s ok 293 /checksum/MD5/reset/105 786s ok 294 /checksum/MD5/reset/106 786s ok 295 /checksum/MD5/reset/107 786s ok 296 /checksum/MD5/reset/108 786s ok 297 /checksum/MD5/reset/109 786s ok 298 /checksum/MD5/reset/110 786s ok 299 /checksum/MD5/reset/111 786s ok 300 /checksum/MD5/reset/112 786s ok 301 /checksum/MD5/reset/113 786s ok 302 /checksum/MD5/reset/114 786s ok 303 /checksum/MD5/reset/115 786s ok 304 /checksum/MD5/reset/116 786s ok 305 /checksum/MD5/reset/117 786s ok 306 /checksum/MD5/reset/118 786s ok 307 /checksum/MD5/reset/119 786s ok 308 /checksum/MD5/reset/120 786s ok 309 /checksum/MD5/reset/121 786s ok 310 /checksum/MD5/reset/122 786s ok 311 /checksum/MD5/reset/123 786s ok 312 /checksum/MD5/reset/124 786s ok 313 /checksum/MD5/reset/125 786s ok 314 /checksum/MD5/reset/126 786s ok 315 /checksum/MD5/reset/127 786s ok 316 /checksum/MD5/reset/128 786s ok 317 /checksum/MD5/reset/129 786s ok 318 /checksum/MD5/reset/130 786s ok 319 /checksum/MD5/reset/131 786s ok 320 /checksum/MD5/reset/132 786s ok 321 /checksum/MD5/reset/133 786s ok 322 /checksum/MD5/reset/134 786s ok 323 /checksum/MD5/reset/135 786s ok 324 /checksum/MD5/reset/136 786s ok 325 /checksum/MD5/reset/137 786s ok 326 /checksum/MD5/reset/138 786s ok 327 /checksum/MD5/reset/139 786s ok 328 /checksum/MD5/reset/140 786s ok 329 /checksum/MD5/reset/141 786s ok 330 /checksum/MD5/reset/142 786s ok 331 /checksum/MD5/reset/143 786s ok 332 /checksum/MD5/reset/144 786s ok 333 /checksum/MD5/reset/145 786s ok 334 /checksum/MD5/reset/146 786s ok 335 /checksum/MD5/reset/147 786s ok 336 /checksum/MD5/reset/148 786s ok 337 /checksum/MD5/reset/149 786s ok 338 /checksum/MD5/reset/150 786s ok 339 /checksum/MD5/reset/151 786s ok 340 /checksum/MD5/reset/152 786s ok 341 /checksum/MD5/reset/153 786s ok 342 /checksum/MD5/reset/154 786s ok 343 /checksum/MD5/reset/155 786s ok 344 /checksum/MD5/reset/156 786s ok 345 /checksum/MD5/reset/157 786s ok 346 /checksum/MD5/reset/158 786s ok 347 /checksum/MD5/reset/159 786s ok 348 /checksum/MD5/reset/160 786s ok 349 /checksum/MD5/reset/161 786s ok 350 /checksum/MD5/reset/162 786s ok 351 /checksum/MD5/reset/163 786s ok 352 /checksum/MD5/reset/164 786s ok 353 /checksum/MD5/reset/165 786s ok 354 /checksum/MD5/reset/166 786s ok 355 /checksum/MD5/reset/167 786s ok 356 /checksum/MD5/reset/168 786s ok 357 /checksum/MD5/reset/169 786s ok 358 /checksum/MD5/reset/170 786s ok 359 /checksum/MD5/reset/171 786s ok 360 /checksum/MD5/reset/172 786s ok 361 /checksum/MD5/reset/173 786s ok 362 /checksum/MD5/reset/174 786s ok 363 /checksum/MD5/reset/175 786s ok 364 /checksum/MD5/reset/176 786s ok 365 /checksum/MD5/reset/177 786s ok 366 /checksum/MD5/reset/178 786s ok 367 /checksum/MD5/reset/179 786s ok 368 /checksum/MD5/reset/180 786s ok 369 /checksum/MD5/reset/181 786s ok 370 /checksum/MD5/reset/182 786s ok 371 /checksum/MD5/reset/183 786s # End of reset tests 786s # End of MD5 tests 786s # Start of SHA1 tests 786s ok 372 /checksum/SHA1/0 786s ok 373 /checksum/SHA1/1 786s ok 374 /checksum/SHA1/2 786s ok 375 /checksum/SHA1/3 786s ok 376 /checksum/SHA1/4 786s ok 377 /checksum/SHA1/5 786s ok 378 /checksum/SHA1/6 786s ok 379 /checksum/SHA1/7 786s ok 380 /checksum/SHA1/8 786s ok 381 /checksum/SHA1/9 786s ok 382 /checksum/SHA1/10 786s ok 383 /checksum/SHA1/11 786s ok 384 /checksum/SHA1/12 786s ok 385 /checksum/SHA1/13 786s ok 386 /checksum/SHA1/14 786s ok 387 /checksum/SHA1/15 786s ok 388 /checksum/SHA1/16 786s ok 389 /checksum/SHA1/17 786s ok 390 /checksum/SHA1/18 786s ok 391 /checksum/SHA1/19 786s ok 392 /checksum/SHA1/20 786s ok 393 /checksum/SHA1/21 786s ok 394 /checksum/SHA1/22 786s ok 395 /checksum/SHA1/23 786s ok 396 /checksum/SHA1/24 786s ok 397 /checksum/SHA1/25 786s ok 398 /checksum/SHA1/26 786s ok 399 /checksum/SHA1/27 786s ok 400 /checksum/SHA1/28 786s ok 401 /checksum/SHA1/29 786s ok 402 /checksum/SHA1/30 786s ok 403 /checksum/SHA1/31 786s ok 404 /checksum/SHA1/32 786s ok 405 /checksum/SHA1/33 786s ok 406 /checksum/SHA1/34 786s ok 407 /checksum/SHA1/35 786s ok 408 /checksum/SHA1/36 786s ok 409 /checksum/SHA1/37 786s ok 410 /checksum/SHA1/38 786s ok 411 /checksum/SHA1/39 786s ok 412 /checksum/SHA1/40 786s ok 413 /checksum/SHA1/41 786s ok 414 /checksum/SHA1/42 786s ok 415 /checksum/SHA1/43 786s ok 416 /checksum/SHA1/44 786s ok 417 /checksum/SHA1/45 786s ok 418 /checksum/SHA1/46 786s ok 419 /checksum/SHA1/47 786s ok 420 /checksum/SHA1/48 786s ok 421 /checksum/SHA1/49 786s ok 422 /checksum/SHA1/50 786s ok 423 /checksum/SHA1/51 786s ok 424 /checksum/SHA1/52 786s ok 425 /checksum/SHA1/53 786s ok 426 /checksum/SHA1/54 786s ok 427 /checksum/SHA1/55 786s ok 428 /checksum/SHA1/56 786s ok 429 /checksum/SHA1/57 786s ok 430 /checksum/SHA1/58 786s ok 431 /checksum/SHA1/59 786s ok 432 /checksum/SHA1/60 786s ok 433 /checksum/SHA1/61 786s ok 434 /checksum/SHA1/62 786s ok 435 /checksum/SHA1/63 786s ok 436 /checksum/SHA1/64 786s ok 437 /checksum/SHA1/65 786s ok 438 /checksum/SHA1/66 786s ok 439 /checksum/SHA1/67 786s ok 440 /checksum/SHA1/68 786s ok 441 /checksum/SHA1/69 786s ok 442 /checksum/SHA1/70 786s ok 443 /checksum/SHA1/71 786s ok 444 /checksum/SHA1/72 786s ok 445 /checksum/SHA1/73 786s ok 446 /checksum/SHA1/74 786s ok 447 /checksum/SHA1/75 786s ok 448 /checksum/SHA1/76 786s ok 449 /checksum/SHA1/77 786s ok 450 /checksum/SHA1/78 786s ok 451 /checksum/SHA1/79 786s ok 452 /checksum/SHA1/80 786s ok 453 /checksum/SHA1/81 786s ok 454 /checksum/SHA1/82 786s ok 455 /checksum/SHA1/83 786s ok 456 /checksum/SHA1/84 786s ok 457 /checksum/SHA1/85 786s ok 458 /checksum/SHA1/86 786s ok 459 /checksum/SHA1/87 786s ok 460 /checksum/SHA1/88 786s ok 461 /checksum/SHA1/89 786s ok 462 /checksum/SHA1/90 786s ok 463 /checksum/SHA1/91 786s ok 464 /checksum/SHA1/92 786s ok 465 /checksum/SHA1/93 786s ok 466 /checksum/SHA1/94 786s ok 467 /checksum/SHA1/95 786s ok 468 /checksum/SHA1/96 786s ok 469 /checksum/SHA1/97 786s ok 470 /checksum/SHA1/98 786s ok 471 /checksum/SHA1/99 786s ok 472 /checksum/SHA1/100 786s ok 473 /checksum/SHA1/101 786s ok 474 /checksum/SHA1/102 786s ok 475 /checksum/SHA1/103 786s ok 476 /checksum/SHA1/104 786s ok 477 /checksum/SHA1/105 786s ok 478 /checksum/SHA1/106 786s ok 479 /checksum/SHA1/107 786s ok 480 /checksum/SHA1/108 786s ok 481 /checksum/SHA1/109 786s ok 482 /checksum/SHA1/110 786s ok 483 /checksum/SHA1/111 786s ok 484 /checksum/SHA1/112 786s ok 485 /checksum/SHA1/113 786s ok 486 /checksum/SHA1/114 786s ok 487 /checksum/SHA1/115 786s ok 488 /checksum/SHA1/116 786s ok 489 /checksum/SHA1/117 786s ok 490 /checksum/SHA1/118 786s ok 491 /checksum/SHA1/119 786s ok 492 /checksum/SHA1/120 786s ok 493 /checksum/SHA1/121 786s ok 494 /checksum/SHA1/122 786s ok 495 /checksum/SHA1/123 786s ok 496 /checksum/SHA1/124 786s ok 497 /checksum/SHA1/125 786s ok 498 /checksum/SHA1/126 786s ok 499 /checksum/SHA1/127 786s ok 500 /checksum/SHA1/128 786s ok 501 /checksum/SHA1/129 786s ok 502 /checksum/SHA1/130 786s ok 503 /checksum/SHA1/131 786s ok 504 /checksum/SHA1/132 786s ok 505 /checksum/SHA1/133 786s ok 506 /checksum/SHA1/134 786s ok 507 /checksum/SHA1/135 786s ok 508 /checksum/SHA1/136 786s ok 509 /checksum/SHA1/137 786s ok 510 /checksum/SHA1/138 786s ok 511 /checksum/SHA1/139 786s ok 512 /checksum/SHA1/140 786s ok 513 /checksum/SHA1/141 786s ok 514 /checksum/SHA1/142 786s ok 515 /checksum/SHA1/143 786s ok 516 /checksum/SHA1/144 786s ok 517 /checksum/SHA1/145 786s ok 518 /checksum/SHA1/146 786s ok 519 /checksum/SHA1/147 786s ok 520 /checksum/SHA1/148 786s ok 521 /checksum/SHA1/149 786s ok 522 /checksum/SHA1/150 786s ok 523 /checksum/SHA1/151 786s ok 524 /checksum/SHA1/152 786s ok 525 /checksum/SHA1/153 786s ok 526 /checksum/SHA1/154 786s ok 527 /checksum/SHA1/155 786s ok 528 /checksum/SHA1/156 786s ok 529 /checksum/SHA1/157 786s ok 530 /checksum/SHA1/158 786s ok 531 /checksum/SHA1/159 786s ok 532 /checksum/SHA1/160 786s ok 533 /checksum/SHA1/161 786s ok 534 /checksum/SHA1/162 786s ok 535 /checksum/SHA1/163 786s ok 536 /checksum/SHA1/164 786s ok 537 /checksum/SHA1/165 786s ok 538 /checksum/SHA1/166 786s ok 539 /checksum/SHA1/167 786s ok 540 /checksum/SHA1/168 786s ok 541 /checksum/SHA1/169 786s ok 542 /checksum/SHA1/170 786s ok 543 /checksum/SHA1/171 786s ok 544 /checksum/SHA1/172 786s ok 545 /checksum/SHA1/173 786s ok 546 /checksum/SHA1/174 786s ok 547 /checksum/SHA1/175 786s ok 548 /checksum/SHA1/176 786s ok 549 /checksum/SHA1/177 786s ok 550 /checksum/SHA1/178 786s ok 551 /checksum/SHA1/179 786s ok 552 /checksum/SHA1/180 786s ok 553 /checksum/SHA1/181 786s ok 554 /checksum/SHA1/182 786s ok 555 /checksum/SHA1/183 786s ok 556 /checksum/SHA1/string 786s ok 557 /checksum/SHA1/bytes 786s # Start of reset tests 786s ok 558 /checksum/SHA1/reset/0 786s ok 559 /checksum/SHA1/reset/1 786s ok 560 /checksum/SHA1/reset/2 786s ok 561 /checksum/SHA1/reset/3 786s ok 562 /checksum/SHA1/reset/4 786s ok 563 /checksum/SHA1/reset/5 786s ok 564 /checksum/SHA1/reset/6 786s ok 565 /checksum/SHA1/reset/7 786s ok 566 /checksum/SHA1/reset/8 786s ok 567 /checksum/SHA1/reset/9 786s ok 568 /checksum/SHA1/reset/10 786s ok 569 /checksum/SHA1/reset/11 786s ok 570 /checksum/SHA1/reset/12 786s ok 571 /checksum/SHA1/reset/13 786s ok 572 /checksum/SHA1/reset/14 786s ok 573 /checksum/SHA1/reset/15 786s ok 574 /checksum/SHA1/reset/16 786s ok 575 /checksum/SHA1/reset/17 786s ok 576 /checksum/SHA1/reset/18 786s ok 577 /checksum/SHA1/reset/19 786s ok 578 /checksum/SHA1/reset/20 786s ok 579 /checksum/SHA1/reset/21 786s ok 580 /checksum/SHA1/reset/22 786s ok 581 /checksum/SHA1/reset/23 786s ok 582 /checksum/SHA1/reset/24 786s ok 583 /checksum/SHA1/reset/25 786s ok 584 /checksum/SHA1/reset/26 786s ok 585 /checksum/SHA1/reset/27 786s ok 586 /checksum/SHA1/reset/28 786s ok 587 /checksum/SHA1/reset/29 786s ok 588 /checksum/SHA1/reset/30 786s ok 589 /checksum/SHA1/reset/31 786s ok 590 /checksum/SHA1/reset/32 786s ok 591 /checksum/SHA1/reset/33 786s ok 592 /checksum/SHA1/reset/34 786s ok 593 /checksum/SHA1/reset/35 786s ok 594 /checksum/SHA1/reset/36 786s ok 595 /checksum/SHA1/reset/37 786s ok 596 /checksum/SHA1/reset/38 786s ok 597 /checksum/SHA1/reset/39 786s ok 598 /checksum/SHA1/reset/40 786s ok 599 /checksum/SHA1/reset/41 786s ok 600 /checksum/SHA1/reset/42 786s ok 601 /checksum/SHA1/reset/43 786s ok 602 /checksum/SHA1/reset/44 786s ok 603 /checksum/SHA1/reset/45 786s ok 604 /checksum/SHA1/reset/46 786s ok 605 /checksum/SHA1/reset/47 786s ok 606 /checksum/SHA1/reset/48 786s ok 607 /checksum/SHA1/reset/49 786s ok 608 /checksum/SHA1/reset/50 786s ok 609 /checksum/SHA1/reset/51 786s ok 610 /checksum/SHA1/reset/52 786s ok 611 /checksum/SHA1/reset/53 786s ok 612 /checksum/SHA1/reset/54 786s ok 613 /checksum/SHA1/reset/55 786s ok 614 /checksum/SHA1/reset/56 786s ok 615 /checksum/SHA1/reset/57 786s ok 616 /checksum/SHA1/reset/58 786s ok 617 /checksum/SHA1/reset/59 786s ok 618 /checksum/SHA1/reset/60 786s ok 619 /checksum/SHA1/reset/61 786s ok 620 /checksum/SHA1/reset/62 786s ok 621 /checksum/SHA1/reset/63 786s ok 622 /checksum/SHA1/reset/64 786s ok 623 /checksum/SHA1/reset/65 786s ok 624 /checksum/SHA1/reset/66 786s ok 625 /checksum/SHA1/reset/67 786s ok 626 /checksum/SHA1/reset/68 786s ok 627 /checksum/SHA1/reset/69 786s ok 628 /checksum/SHA1/reset/70 786s ok 629 /checksum/SHA1/reset/71 786s ok 630 /checksum/SHA1/reset/72 786s ok 631 /checksum/SHA1/reset/73 786s ok 632 /checksum/SHA1/reset/74 786s ok 633 /checksum/SHA1/reset/75 786s ok 634 /checksum/SHA1/reset/76 786s ok 635 /checksum/SHA1/reset/77 786s ok 636 /checksum/SHA1/reset/78 786s ok 637 /checksum/SHA1/reset/79 786s ok 638 /checksum/SHA1/reset/80 786s ok 639 /checksum/SHA1/reset/81 786s ok 640 /checksum/SHA1/reset/82 786s ok 641 /checksum/SHA1/reset/83 786s ok 642 /checksum/SHA1/reset/84 786s ok 643 /checksum/SHA1/reset/85 786s ok 644 /checksum/SHA1/reset/86 786s ok 645 /checksum/SHA1/reset/87 786s ok 646 /checksum/SHA1/reset/88 786s ok 647 /checksum/SHA1/reset/89 786s ok 648 /checksum/SHA1/reset/90 786s ok 649 /checksum/SHA1/reset/91 786s ok 650 /checksum/SHA1/reset/92 786s ok 651 /checksum/SHA1/reset/93 786s ok 652 /checksum/SHA1/reset/94 786s ok 653 /checksum/SHA1/reset/95 786s ok 654 /checksum/SHA1/reset/96 786s ok 655 /checksum/SHA1/reset/97 786s ok 656 /checksum/SHA1/reset/98 786s ok 657 /checksum/SHA1/reset/99 786s ok 658 /checksum/SHA1/reset/100 786s ok 659 /checksum/SHA1/reset/101 786s ok 660 /checksum/SHA1/reset/102 786s ok 661 /checksum/SHA1/reset/103 786s ok 662 /checksum/SHA1/reset/104 786s ok 663 /checksum/SHA1/reset/105 786s ok 664 /checksum/SHA1/reset/106 786s ok 665 /checksum/SHA1/reset/107 786s ok 666 /checksum/SHA1/reset/108 786s ok 667 /checksum/SHA1/reset/109 786s ok 668 /checksum/SHA1/reset/110 786s ok 669 /checksum/SHA1/reset/111 786s ok 670 /checksum/SHA1/reset/112 786s ok 671 /checksum/SHA1/reset/113 786s ok 672 /checksum/SHA1/reset/114 786s ok 673 /checksum/SHA1/reset/115 786s ok 674 /checksum/SHA1/reset/116 786s ok 675 /checksum/SHA1/reset/117 786s ok 676 /checksum/SHA1/reset/118 786s ok 677 /checksum/SHA1/reset/119 786s ok 678 /checksum/SHA1/reset/120 786s ok 679 /checksum/SHA1/reset/121 786s ok 680 /checksum/SHA1/reset/122 786s ok 681 /checksum/SHA1/reset/123 786s ok 682 /checksum/SHA1/reset/124 786s ok 683 /checksum/SHA1/reset/125 786s ok 684 /checksum/SHA1/reset/126 786s ok 685 /checksum/SHA1/reset/127 786s ok 686 /checksum/SHA1/reset/128 786s ok 687 /checksum/SHA1/reset/129 786s ok 688 /checksum/SHA1/reset/130 786s ok 689 /checksum/SHA1/reset/131 786s ok 690 /checksum/SHA1/reset/132 786s ok 691 /checksum/SHA1/reset/133 786s ok 692 /checksum/SHA1/reset/134 786s ok 693 /checksum/SHA1/reset/135 786s ok 694 /checksum/SHA1/reset/136 786s ok 695 /checksum/SHA1/reset/137 786s ok 696 /checksum/SHA1/reset/138 786s ok 697 /checksum/SHA1/reset/139 786s ok 698 /checksum/SHA1/reset/140 786s ok 699 /checksum/SHA1/reset/141 786s ok 700 /checksum/SHA1/reset/142 786s ok 701 /checksum/SHA1/reset/143 786s ok 702 /checksum/SHA1/reset/144 786s ok 703 /checksum/SHA1/reset/145 786s ok 704 /checksum/SHA1/reset/146 786s ok 705 /checksum/SHA1/reset/147 786s ok 706 /checksum/SHA1/reset/148 786s ok 707 /checksum/SHA1/reset/149 786s ok 708 /checksum/SHA1/reset/150 786s ok 709 /checksum/SHA1/reset/151 786s ok 710 /checksum/SHA1/reset/152 786s ok 711 /checksum/SHA1/reset/153 786s ok 712 /checksum/SHA1/reset/154 786s ok 713 /checksum/SHA1/reset/155 786s ok 714 /checksum/SHA1/reset/156 786s ok 715 /checksum/SHA1/reset/157 786s ok 716 /checksum/SHA1/reset/158 786s ok 717 /checksum/SHA1/reset/159 786s ok 718 /checksum/SHA1/reset/160 786s ok 719 /checksum/SHA1/reset/161 786s ok 720 /checksum/SHA1/reset/162 786s ok 721 /checksum/SHA1/reset/163 786s ok 722 /checksum/SHA1/reset/164 786s ok 723 /checksum/SHA1/reset/165 786s ok 724 /checksum/SHA1/reset/166 786s ok 725 /checksum/SHA1/reset/167 786s ok 726 /checksum/SHA1/reset/168 786s ok 727 /checksum/SHA1/reset/169 786s ok 728 /checksum/SHA1/reset/170 786s ok 729 /checksum/SHA1/reset/171 786s ok 730 /checksum/SHA1/reset/172 786s ok 731 /checksum/SHA1/reset/173 786s ok 732 /checksum/SHA1/reset/174 786s ok 733 /checksum/SHA1/reset/175 786s ok 734 /checksum/SHA1/reset/176 786s ok 735 /checksum/SHA1/reset/177 786s ok 736 /checksum/SHA1/reset/178 786s ok 737 /checksum/SHA1/reset/179 786s ok 738 /checksum/SHA1/reset/180 786s ok 739 /checksum/SHA1/reset/181 786s ok 740 /checksum/SHA1/reset/182 786s ok 741 /checksum/SHA1/reset/183 786s # End of reset tests 786s # End of SHA1 tests 786s # Start of SHA256 tests 786s ok 742 /checksum/SHA256/0 786s ok 743 /checksum/SHA256/1 786s ok 744 /checksum/SHA256/2 786s ok 745 /checksum/SHA256/3 786s ok 746 /checksum/SHA256/4 786s ok 747 /checksum/SHA256/5 786s ok 748 /checksum/SHA256/6 786s ok 749 /checksum/SHA256/7 786s ok 750 /checksum/SHA256/8 786s ok 751 /checksum/SHA256/9 786s ok 752 /checksum/SHA256/10 786s ok 753 /checksum/SHA256/11 786s ok 754 /checksum/SHA256/12 786s ok 755 /checksum/SHA256/13 786s ok 756 /checksum/SHA256/14 786s ok 757 /checksum/SHA256/15 786s ok 758 /checksum/SHA256/16 786s ok 759 /checksum/SHA256/17 786s ok 760 /checksum/SHA256/18 786s ok 761 /checksum/SHA256/19 786s ok 762 /checksum/SHA256/20 786s ok 763 /checksum/SHA256/21 786s ok 764 /checksum/SHA256/22 786s ok 765 /checksum/SHA256/23 786s ok 766 /checksum/SHA256/24 786s ok 767 /checksum/SHA256/25 786s ok 768 /checksum/SHA256/26 786s ok 769 /checksum/SHA256/27 786s ok 770 /checksum/SHA256/28 786s ok 771 /checksum/SHA256/29 786s ok 772 /checksum/SHA256/30 786s ok 773 /checksum/SHA256/31 786s ok 774 /checksum/SHA256/32 786s ok 775 /checksum/SHA256/33 786s ok 776 /checksum/SHA256/34 786s ok 777 /checksum/SHA256/35 786s ok 778 /checksum/SHA256/36 786s ok 779 /checksum/SHA256/37 786s ok 780 /checksum/SHA256/38 786s ok 781 /checksum/SHA256/39 786s ok 782 /checksum/SHA256/40 786s ok 783 /checksum/SHA256/41 786s ok 784 /checksum/SHA256/42 786s ok 785 /checksum/SHA256/43 786s ok 786 /checksum/SHA256/44 786s ok 787 /checksum/SHA256/45 786s ok 788 /checksum/SHA256/46 786s ok 789 /checksum/SHA256/47 786s ok 790 /checksum/SHA256/48 786s ok 791 /checksum/SHA256/49 786s ok 792 /checksum/SHA256/50 786s ok 793 /checksum/SHA256/51 786s ok 794 /checksum/SHA256/52 786s ok 795 /checksum/SHA256/53 786s ok 796 /checksum/SHA256/54 786s ok 797 /checksum/SHA256/55 786s ok 798 /checksum/SHA256/56 786s ok 799 /checksum/SHA256/57 786s ok 800 /checksum/SHA256/58 786s ok 801 /checksum/SHA256/59 786s ok 802 /checksum/SHA256/60 786s ok 803 /checksum/SHA256/61 786s ok 804 /checksum/SHA256/62 786s ok 805 /checksum/SHA256/63 786s ok 806 /checksum/SHA256/64 786s ok 807 /checksum/SHA256/65 786s ok 808 /checksum/SHA256/66 786s ok 809 /checksum/SHA256/67 786s ok 810 /checksum/SHA256/68 786s ok 811 /checksum/SHA256/69 786s ok 812 /checksum/SHA256/70 786s ok 813 /checksum/SHA256/71 786s ok 814 /checksum/SHA256/72 786s ok 815 /checksum/SHA256/73 786s ok 816 /checksum/SHA256/74 786s ok 817 /checksum/SHA256/75 786s ok 818 /checksum/SHA256/76 786s ok 819 /checksum/SHA256/77 786s ok 820 /checksum/SHA256/78 786s ok 821 /checksum/SHA256/79 786s ok 822 /checksum/SHA256/80 786s ok 823 /checksum/SHA256/81 786s ok 824 /checksum/SHA256/82 786s ok 825 /checksum/SHA256/83 786s ok 826 /checksum/SHA256/84 786s ok 827 /checksum/SHA256/85 786s ok 828 /checksum/SHA256/86 786s ok 829 /checksum/SHA256/87 786s ok 830 /checksum/SHA256/88 786s ok 831 /checksum/SHA256/89 786s ok 832 /checksum/SHA256/90 786s ok 833 /checksum/SHA256/91 786s ok 834 /checksum/SHA256/92 786s ok 835 /checksum/SHA256/93 786s ok 836 /checksum/SHA256/94 786s ok 837 /checksum/SHA256/95 786s ok 838 /checksum/SHA256/96 786s ok 839 /checksum/SHA256/97 786s ok 840 /checksum/SHA256/98 786s ok 841 /checksum/SHA256/99 786s ok 842 /checksum/SHA256/100 786s ok 843 /checksum/SHA256/101 786s ok 844 /checksum/SHA256/102 786s ok 845 /checksum/SHA256/103 786s ok 846 /checksum/SHA256/104 786s ok 847 /checksum/SHA256/105 786s ok 848 /checksum/SHA256/106 786s ok 849 /checksum/SHA256/107 786s ok 850 /checksum/SHA256/108 786s ok 851 /checksum/SHA256/109 786s ok 852 /checksum/SHA256/110 786s ok 853 /checksum/SHA256/111 786s ok 854 /checksum/SHA256/112 786s ok 855 /checksum/SHA256/113 786s ok 856 /checksum/SHA256/114 786s ok 857 /checksum/SHA256/115 786s ok 858 /checksum/SHA256/116 786s ok 859 /checksum/SHA256/117 786s ok 860 /checksum/SHA256/118 786s ok 861 /checksum/SHA256/119 786s ok 862 /checksum/SHA256/120 786s ok 863 /checksum/SHA256/121 786s ok 864 /checksum/SHA256/122 786s ok 865 /checksum/SHA256/123 786s ok 866 /checksum/SHA256/124 786s ok 867 /checksum/SHA256/125 786s ok 868 /checksum/SHA256/126 786s ok 869 /checksum/SHA256/127 786s ok 870 /checksum/SHA256/128 786s ok 871 /checksum/SHA256/129 786s ok 872 /checksum/SHA256/130 786s ok 873 /checksum/SHA256/131 786s ok 874 /checksum/SHA256/132 786s ok 875 /checksum/SHA256/133 786s ok 876 /checksum/SHA256/134 786s ok 877 /checksum/SHA256/135 786s ok 878 /checksum/SHA256/136 786s ok 879 /checksum/SHA256/137 786s ok 880 /checksum/SHA256/138 786s ok 881 /checksum/SHA256/139 786s ok 882 /checksum/SHA256/140 786s ok 883 /checksum/SHA256/141 786s ok 884 /checksum/SHA256/142 786s ok 885 /checksum/SHA256/143 786s ok 886 /checksum/SHA256/144 786s ok 887 /checksum/SHA256/145 786s ok 888 /checksum/SHA256/146 786s ok 889 /checksum/SHA256/147 786s ok 890 /checksum/SHA256/148 786s ok 891 /checksum/SHA256/149 786s ok 892 /checksum/SHA256/150 786s ok 893 /checksum/SHA256/151 786s ok 894 /checksum/SHA256/152 786s ok 895 /checksum/SHA256/153 786s ok 896 /checksum/SHA256/154 786s ok 897 /checksum/SHA256/155 786s ok 898 /checksum/SHA256/156 786s ok 899 /checksum/SHA256/157 786s ok 900 /checksum/SHA256/158 786s ok 901 /checksum/SHA256/159 786s ok 902 /checksum/SHA256/160 786s ok 903 /checksum/SHA256/161 786s ok 904 /checksum/SHA256/162 786s ok 905 /checksum/SHA256/163 786s ok 906 /checksum/SHA256/164 786s ok 907 /checksum/SHA256/165 786s ok 908 /checksum/SHA256/166 786s ok 909 /checksum/SHA256/167 786s ok 910 /checksum/SHA256/168 786s ok 911 /checksum/SHA256/169 786s ok 912 /checksum/SHA256/170 786s ok 913 /checksum/SHA256/171 786s ok 914 /checksum/SHA256/172 786s ok 915 /checksum/SHA256/173 786s ok 916 /checksum/SHA256/174 786s ok 917 /checksum/SHA256/175 786s ok 918 /checksum/SHA256/176 786s ok 919 /checksum/SHA256/177 786s ok 920 /checksum/SHA256/178 786s ok 921 /checksum/SHA256/179 786s ok 922 /checksum/SHA256/180 786s ok 923 /checksum/SHA256/181 786s ok 924 /checksum/SHA256/182 786s ok 925 /checksum/SHA256/183 786s ok 926 /checksum/SHA256/string 786s ok 927 /checksum/SHA256/bytes 786s # Start of reset tests 786s ok 928 /checksum/SHA256/reset/0 786s ok 929 /checksum/SHA256/reset/1 786s ok 930 /checksum/SHA256/reset/2 786s ok 931 /checksum/SHA256/reset/3 786s ok 932 /checksum/SHA256/reset/4 786s ok 933 /checksum/SHA256/reset/5 786s ok 934 /checksum/SHA256/reset/6 786s ok 935 /checksum/SHA256/reset/7 786s ok 936 /checksum/SHA256/reset/8 786s ok 937 /checksum/SHA256/reset/9 786s ok 938 /checksum/SHA256/reset/10 786s ok 939 /checksum/SHA256/reset/11 786s ok 940 /checksum/SHA256/reset/12 786s ok 941 /checksum/SHA256/reset/13 786s ok 942 /checksum/SHA256/reset/14 786s ok 943 /checksum/SHA256/reset/15 786s ok 944 /checksum/SHA256/reset/16 786s ok 945 /checksum/SHA256/reset/17 786s ok 946 /checksum/SHA256/reset/18 786s ok 947 /checksum/SHA256/reset/19 786s ok 948 /checksum/SHA256/reset/20 786s ok 949 /checksum/SHA256/reset/21 786s ok 950 /checksum/SHA256/reset/22 786s ok 951 /checksum/SHA256/reset/23 786s ok 952 /checksum/SHA256/reset/24 786s ok 953 /checksum/SHA256/reset/25 786s ok 954 /checksum/SHA256/reset/26 786s ok 955 /checksum/SHA256/reset/27 786s ok 956 /checksum/SHA256/reset/28 786s ok 957 /checksum/SHA256/reset/29 786s ok 958 /checksum/SHA256/reset/30 786s ok 959 /checksum/SHA256/reset/31 786s ok 960 /checksum/SHA256/reset/32 786s ok 961 /checksum/SHA256/reset/33 786s ok 962 /checksum/SHA256/reset/34 786s ok 963 /checksum/SHA256/reset/35 786s ok 964 /checksum/SHA256/reset/36 786s ok 965 /checksum/SHA256/reset/37 786s ok 966 /checksum/SHA256/reset/38 786s ok 967 /checksum/SHA256/reset/39 786s ok 968 /checksum/SHA256/reset/40 786s ok 969 /checksum/SHA256/reset/41 786s ok 970 /checksum/SHA256/reset/42 786s ok 971 /checksum/SHA256/reset/43 786s ok 972 /checksum/SHA256/reset/44 786s ok 973 /checksum/SHA256/reset/45 786s ok 974 /checksum/SHA256/reset/46 786s ok 975 /checksum/SHA256/reset/47 786s ok 976 /checksum/SHA256/reset/48 786s ok 977 /checksum/SHA256/reset/49 786s ok 978 /checksum/SHA256/reset/50 786s ok 979 /checksum/SHA256/reset/51 786s ok 980 /checksum/SHA256/reset/52 786s ok 981 /checksum/SHA256/reset/53 786s ok 982 /checksum/SHA256/reset/54 786s ok 983 /checksum/SHA256/reset/55 786s ok 984 /checksum/SHA256/reset/56 786s ok 985 /checksum/SHA256/reset/57 786s ok 986 /checksum/SHA256/reset/58 786s ok 987 /checksum/SHA256/reset/59 786s ok 988 /checksum/SHA256/reset/60 786s ok 989 /checksum/SHA256/reset/61 786s ok 990 /checksum/SHA256/reset/62 786s ok 991 /checksum/SHA256/reset/63 786s ok 992 /checksum/SHA256/reset/64 786s ok 993 /checksum/SHA256/reset/65 786s ok 994 /checksum/SHA256/reset/66 786s ok 995 /checksum/SHA256/reset/67 786s ok 996 /checksum/SHA256/reset/68 786s ok 997 /checksum/SHA256/reset/69 786s ok 998 /checksum/SHA256/reset/70 786s ok 999 /checksum/SHA256/reset/71 786s ok 1000 /checksum/SHA256/reset/72 786s ok 1001 /checksum/SHA256/reset/73 786s ok 1002 /checksum/SHA256/reset/74 786s ok 1003 /checksum/SHA256/reset/75 786s ok 1004 /checksum/SHA256/reset/76 786s ok 1005 /checksum/SHA256/reset/77 786s ok 1006 /checksum/SHA256/reset/78 786s ok 1007 /checksum/SHA256/reset/79 786s ok 1008 /checksum/SHA256/reset/80 786s ok 1009 /checksum/SHA256/reset/81 786s ok 1010 /checksum/SHA256/reset/82 786s ok 1011 /checksum/SHA256/reset/83 786s ok 1012 /checksum/SHA256/reset/84 786s ok 1013 /checksum/SHA256/reset/85 786s ok 1014 /checksum/SHA256/reset/86 786s ok 1015 /checksum/SHA256/reset/87 786s ok 1016 /checksum/SHA256/reset/88 786s ok 1017 /checksum/SHA256/reset/89 786s ok 1018 /checksum/SHA256/reset/90 786s ok 1019 /checksum/SHA256/reset/91 786s ok 1020 /checksum/SHA256/reset/92 786s ok 1021 /checksum/SHA256/reset/93 786s ok 1022 /checksum/SHA256/reset/94 786s ok 1023 /checksum/SHA256/reset/95 786s ok 1024 /checksum/SHA256/reset/96 786s ok 1025 /checksum/SHA256/reset/97 786s ok 1026 /checksum/SHA256/reset/98 786s ok 1027 /checksum/SHA256/reset/99 786s ok 1028 /checksum/SHA256/reset/100 786s ok 1029 /checksum/SHA256/reset/101 786s ok 1030 /checksum/SHA256/reset/102 786s ok 1031 /checksum/SHA256/reset/103 786s ok 1032 /checksum/SHA256/reset/104 786s ok 1033 /checksum/SHA256/reset/105 786s ok 1034 /checksum/SHA256/reset/106 786s ok 1035 /checksum/SHA256/reset/107 786s ok 1036 /checksum/SHA256/reset/108 786s ok 1037 /checksum/SHA256/reset/109 786s ok 1038 /checksum/SHA256/reset/110 786s ok 1039 /checksum/SHA256/reset/111 786s ok 1040 /checksum/SHA256/reset/112 786s ok 1041 /checksum/SHA256/reset/113 786s ok 1042 /checksum/SHA256/reset/114 786s ok 1043 /checksum/SHA256/reset/115 786s ok 1044 /checksum/SHA256/reset/116 786s ok 1045 /checksum/SHA256/reset/117 786s ok 1046 /checksum/SHA256/reset/118 786s ok 1047 /checksum/SHA256/reset/119 786s ok 1048 /checksum/SHA256/reset/120 786s ok 1049 /checksum/SHA256/reset/121 786s ok 1050 /checksum/SHA256/reset/122 786s ok 1051 /checksum/SHA256/reset/123 786s ok 1052 /checksum/SHA256/reset/124 786s ok 1053 /checksum/SHA256/reset/125 786s ok 1054 /checksum/SHA256/reset/126 786s ok 1055 /checksum/SHA256/reset/127 786s ok 1056 /checksum/SHA256/reset/128 786s ok 1057 /checksum/SHA256/reset/129 786s ok 1058 /checksum/SHA256/reset/130 786s ok 1059 /checksum/SHA256/reset/131 786s ok 1060 /checksum/SHA256/reset/132 786s ok 1061 /checksum/SHA256/reset/133 786s ok 1062 /checksum/SHA256/reset/134 786s ok 1063 /checksum/SHA256/reset/135 786s ok 1064 /checksum/SHA256/reset/136 786s ok 1065 /checksum/SHA256/reset/137 786s ok 1066 /checksum/SHA256/reset/138 786s ok 1067 /checksum/SHA256/reset/139 786s ok 1068 /checksum/SHA256/reset/140 786s ok 1069 /checksum/SHA256/reset/141 786s ok 1070 /checksum/SHA256/reset/142 786s ok 1071 /checksum/SHA256/reset/143 786s ok 1072 /checksum/SHA256/reset/144 786s ok 1073 /checksum/SHA256/reset/145 786s ok 1074 /checksum/SHA256/reset/146 786s ok 1075 /checksum/SHA256/reset/147 786s ok 1076 /checksum/SHA256/reset/148 786s ok 1077 /checksum/SHA256/reset/149 786s ok 1078 /checksum/SHA256/reset/150 786s ok 1079 /checksum/SHA256/reset/151 786s ok 1080 /checksum/SHA256/reset/152 786s ok 1081 /checksum/SHA256/reset/153 786s ok 1082 /checksum/SHA256/reset/154 786s ok 1083 /checksum/SHA256/reset/155 786s ok 1084 /checksum/SHA256/reset/156 786s ok 1085 /checksum/SHA256/reset/157 786s ok 1086 /checksum/SHA256/reset/158 786s ok 1087 /checksum/SHA256/reset/159 786s ok 1088 /checksum/SHA256/reset/160 786s ok 1089 /checksum/SHA256/reset/161 786s ok 1090 /checksum/SHA256/reset/162 786s ok 1091 /checksum/SHA256/reset/163 786s ok 1092 /checksum/SHA256/reset/164 786s ok 1093 /checksum/SHA256/reset/165 786s ok 1094 /checksum/SHA256/reset/166 786s ok 1095 /checksum/SHA256/reset/167 786s ok 1096 /checksum/SHA256/reset/168 786s ok 1097 /checksum/SHA256/reset/169 786s ok 1098 /checksum/SHA256/reset/170 786s ok 1099 /checksum/SHA256/reset/171 786s ok 1100 /checksum/SHA256/reset/172 786s ok 1101 /checksum/SHA256/reset/173 786s ok 1102 /checksum/SHA256/reset/174 786s ok 1103 /checksum/SHA256/reset/175 786s ok 1104 /checksum/SHA256/reset/176 786s ok 1105 /checksum/SHA256/reset/177 786s ok 1106 /checksum/SHA256/reset/178 786s ok 1107 /checksum/SHA256/reset/179 786s ok 1108 /checksum/SHA256/reset/180 786s ok 1109 /checksum/SHA256/reset/181 786s ok 1110 /checksum/SHA256/reset/182 786s ok 1111 /checksum/SHA256/reset/183 786s # End of reset tests 786s # End of SHA256 tests 786s # Start of SHA384 tests 786s ok 1112 /checksum/SHA384/0 786s ok 1113 /checksum/SHA384/1 786s ok 1114 /checksum/SHA384/2 786s ok 1115 /checksum/SHA384/3 786s ok 1116 /checksum/SHA384/4 786s ok 1117 /checksum/SHA384/5 786s ok 1118 /checksum/SHA384/6 786s ok 1119 /checksum/SHA384/7 786s ok 1120 /checksum/SHA384/8 786s ok 1121 /checksum/SHA384/9 786s ok 1122 /checksum/SHA384/10 786s ok 1123 /checksum/SHA384/11 786s ok 1124 /checksum/SHA384/12 786s ok 1125 /checksum/SHA384/13 786s ok 1126 /checksum/SHA384/14 786s ok 1127 /checksum/SHA384/15 786s ok 1128 /checksum/SHA384/16 786s ok 1129 /checksum/SHA384/17 786s ok 1130 /checksum/SHA384/18 786s ok 1131 /checksum/SHA384/19 786s ok 1132 /checksum/SHA384/20 786s ok 1133 /checksum/SHA384/21 786s ok 1134 /checksum/SHA384/22 786s ok 1135 /checksum/SHA384/23 786s ok 1136 /checksum/SHA384/24 786s ok 1137 /checksum/SHA384/25 786s ok 1138 /checksum/SHA384/26 786s ok 1139 /checksum/SHA384/27 786s ok 1140 /checksum/SHA384/28 786s ok 1141 /checksum/SHA384/29 786s ok 1142 /checksum/SHA384/30 786s ok 1143 /checksum/SHA384/31 786s ok 1144 /checksum/SHA384/32 786s ok 1145 /checksum/SHA384/33 786s ok 1146 /checksum/SHA384/34 786s ok 1147 /checksum/SHA384/35 786s ok 1148 /checksum/SHA384/36 786s ok 1149 /checksum/SHA384/37 786s ok 1150 /checksum/SHA384/38 786s ok 1151 /checksum/SHA384/39 786s ok 1152 /checksum/SHA384/40 786s ok 1153 /checksum/SHA384/41 786s ok 1154 /checksum/SHA384/42 786s ok 1155 /checksum/SHA384/43 786s ok 1156 /checksum/SHA384/44 786s ok 1157 /checksum/SHA384/45 786s ok 1158 /checksum/SHA384/46 786s ok 1159 /checksum/SHA384/47 786s ok 1160 /checksum/SHA384/48 786s ok 1161 /checksum/SHA384/49 786s ok 1162 /checksum/SHA384/50 786s ok 1163 /checksum/SHA384/51 786s ok 1164 /checksum/SHA384/52 786s ok 1165 /checksum/SHA384/53 786s ok 1166 /checksum/SHA384/54 786s ok 1167 /checksum/SHA384/55 786s ok 1168 /checksum/SHA384/56 786s ok 1169 /checksum/SHA384/57 786s ok 1170 /checksum/SHA384/58 786s ok 1171 /checksum/SHA384/59 786s ok 1172 /checksum/SHA384/60 786s ok 1173 /checksum/SHA384/61 786s ok 1174 /checksum/SHA384/62 786s ok 1175 /checksum/SHA384/63 786s ok 1176 /checksum/SHA384/64 786s ok 1177 /checksum/SHA384/65 786s ok 1178 /checksum/SHA384/66 786s ok 1179 /checksum/SHA384/67 786s ok 1180 /checksum/SHA384/68 786s ok 1181 /checksum/SHA384/69 786s ok 1182 /checksum/SHA384/70 786s ok 1183 /checksum/SHA384/71 786s ok 1184 /checksum/SHA384/72 786s ok 1185 /checksum/SHA384/73 786s ok 1186 /checksum/SHA384/74 786s ok 1187 /checksum/SHA384/75 786s ok 1188 /checksum/SHA384/76 786s ok 1189 /checksum/SHA384/77 786s ok 1190 /checksum/SHA384/78 786s ok 1191 /checksum/SHA384/79 786s ok 1192 /checksum/SHA384/80 786s ok 1193 /checksum/SHA384/81 786s ok 1194 /checksum/SHA384/82 786s ok 1195 /checksum/SHA384/83 786s ok 1196 /checksum/SHA384/84 786s ok 1197 /checksum/SHA384/85 786s ok 1198 /checksum/SHA384/86 786s ok 1199 /checksum/SHA384/87 786s ok 1200 /checksum/SHA384/88 786s ok 1201 /checksum/SHA384/89 786s ok 1202 /checksum/SHA384/90 786s ok 1203 /checksum/SHA384/91 786s ok 1204 /checksum/SHA384/92 786s ok 1205 /checksum/SHA384/93 786s ok 1206 /checksum/SHA384/94 786s ok 1207 /checksum/SHA384/95 786s ok 1208 /checksum/SHA384/96 786s ok 1209 /checksum/SHA384/97 786s ok 1210 /checksum/SHA384/98 786s ok 1211 /checksum/SHA384/99 786s ok 1212 /checksum/SHA384/100 786s ok 1213 /checksum/SHA384/101 786s ok 1214 /checksum/SHA384/102 786s ok 1215 /checksum/SHA384/103 786s ok 1216 /checksum/SHA384/104 786s ok 1217 /checksum/SHA384/105 786s ok 1218 /checksum/SHA384/106 786s ok 1219 /checksum/SHA384/107 786s ok 1220 /checksum/SHA384/108 786s ok 1221 /checksum/SHA384/109 786s ok 1222 /checksum/SHA384/110 786s ok 1223 /checksum/SHA384/111 786s ok 1224 /checksum/SHA384/112 786s ok 1225 /checksum/SHA384/113 786s ok 1226 /checksum/SHA384/114 786s ok 1227 /checksum/SHA384/115 786s ok 1228 /checksum/SHA384/116 786s ok 1229 /checksum/SHA384/117 786s ok 1230 /checksum/SHA384/118 786s ok 1231 /checksum/SHA384/119 786s ok 1232 /checksum/SHA384/120 786s ok 1233 /checksum/SHA384/121 786s ok 1234 /checksum/SHA384/122 786s ok 1235 /checksum/SHA384/123 786s ok 1236 /checksum/SHA384/124 786s ok 1237 /checksum/SHA384/125 786s ok 1238 /checksum/SHA384/126 786s ok 1239 /checksum/SHA384/127 786s ok 1240 /checksum/SHA384/128 786s ok 1241 /checksum/SHA384/129 786s ok 1242 /checksum/SHA384/130 786s ok 1243 /checksum/SHA384/131 786s ok 1244 /checksum/SHA384/132 786s ok 1245 /checksum/SHA384/133 786s ok 1246 /checksum/SHA384/134 786s ok 1247 /checksum/SHA384/135 786s ok 1248 /checksum/SHA384/136 786s ok 1249 /checksum/SHA384/137 786s ok 1250 /checksum/SHA384/138 786s ok 1251 /checksum/SHA384/139 786s ok 1252 /checksum/SHA384/140 786s ok 1253 /checksum/SHA384/141 786s ok 1254 /checksum/SHA384/142 786s ok 1255 /checksum/SHA384/143 786s ok 1256 /checksum/SHA384/144 786s ok 1257 /checksum/SHA384/145 786s ok 1258 /checksum/SHA384/146 786s ok 1259 /checksum/SHA384/147 786s ok 1260 /checksum/SHA384/148 786s ok 1261 /checksum/SHA384/149 786s ok 1262 /checksum/SHA384/150 786s ok 1263 /checksum/SHA384/151 786s ok 1264 /checksum/SHA384/152 786s ok 1265 /checksum/SHA384/153 786s ok 1266 /checksum/SHA384/154 786s ok 1267 /checksum/SHA384/155 786s ok 1268 /checksum/SHA384/156 786s ok 1269 /checksum/SHA384/157 786s ok 1270 /checksum/SHA384/158 786s ok 1271 /checksum/SHA384/159 786s ok 1272 /checksum/SHA384/160 786s ok 1273 /checksum/SHA384/161 786s ok 1274 /checksum/SHA384/162 786s ok 1275 /checksum/SHA384/163 786s ok 1276 /checksum/SHA384/164 786s ok 1277 /checksum/SHA384/165 786s ok 1278 /checksum/SHA384/166 786s ok 1279 /checksum/SHA384/167 786s ok 1280 /checksum/SHA384/168 786s ok 1281 /checksum/SHA384/169 786s ok 1282 /checksum/SHA384/170 786s ok 1283 /checksum/SHA384/171 786s ok 1284 /checksum/SHA384/172 786s ok 1285 /checksum/SHA384/173 786s ok 1286 /checksum/SHA384/174 786s ok 1287 /checksum/SHA384/175 786s ok 1288 /checksum/SHA384/176 786s ok 1289 /checksum/SHA384/177 786s ok 1290 /checksum/SHA384/178 786s ok 1291 /checksum/SHA384/179 786s ok 1292 /checksum/SHA384/180 786s ok 1293 /checksum/SHA384/181 786s ok 1294 /checksum/SHA384/182 786s ok 1295 /checksum/SHA384/183 786s ok 1296 /checksum/SHA384/string 786s ok 1297 /checksum/SHA384/bytes 786s # Start of reset tests 786s ok 1298 /checksum/SHA384/reset/0 786s ok 1299 /checksum/SHA384/reset/1 786s ok 1300 /checksum/SHA384/reset/2 786s ok 1301 /checksum/SHA384/reset/3 786s ok 1302 /checksum/SHA384/reset/4 786s ok 1303 /checksum/SHA384/reset/5 786s ok 1304 /checksum/SHA384/reset/6 786s ok 1305 /checksum/SHA384/reset/7 786s ok 1306 /checksum/SHA384/reset/8 786s ok 1307 /checksum/SHA384/reset/9 786s ok 1308 /checksum/SHA384/reset/10 786s ok 1309 /checksum/SHA384/reset/11 786s ok 1310 /checksum/SHA384/reset/12 786s ok 1311 /checksum/SHA384/reset/13 786s ok 1312 /checksum/SHA384/reset/14 786s ok 1313 /checksum/SHA384/reset/15 786s ok 1314 /checksum/SHA384/reset/16 786s ok 1315 /checksum/SHA384/reset/17 786s ok 1316 /checksum/SHA384/reset/18 786s ok 1317 /checksum/SHA384/reset/19 786s ok 1318 /checksum/SHA384/reset/20 786s ok 1319 /checksum/SHA384/reset/21 786s ok 1320 /checksum/SHA384/reset/22 786s ok 1321 /checksum/SHA384/reset/23 786s ok 1322 /checksum/SHA384/reset/24 786s ok 1323 /checksum/SHA384/reset/25 786s ok 1324 /checksum/SHA384/reset/26 786s ok 1325 /checksum/SHA384/reset/27 786s ok 1326 /checksum/SHA384/reset/28 786s ok 1327 /checksum/SHA384/reset/29 786s ok 1328 /checksum/SHA384/reset/30 786s ok 1329 /checksum/SHA384/reset/31 786s ok 1330 /checksum/SHA384/reset/32 786s ok 1331 /checksum/SHA384/reset/33 786s ok 1332 /checksum/SHA384/reset/34 786s ok 1333 /checksum/SHA384/reset/35 786s ok 1334 /checksum/SHA384/reset/36 786s ok 1335 /checksum/SHA384/reset/37 786s ok 1336 /checksum/SHA384/reset/38 786s ok 1337 /checksum/SHA384/reset/39 786s ok 1338 /checksum/SHA384/reset/40 786s ok 1339 /checksum/SHA384/reset/41 786s ok 1340 /checksum/SHA384/reset/42 786s ok 1341 /checksum/SHA384/reset/43 786s ok 1342 /checksum/SHA384/reset/44 786s ok 1343 /checksum/SHA384/reset/45 786s ok 1344 /checksum/SHA384/reset/46 786s ok 1345 /checksum/SHA384/reset/47 786s ok 1346 /checksum/SHA384/reset/48 786s ok 1347 /checksum/SHA384/reset/49 786s ok 1348 /checksum/SHA384/reset/50 786s ok 1349 /checksum/SHA384/reset/51 786s ok 1350 /checksum/SHA384/reset/52 786s ok 1351 /checksum/SHA384/reset/53 786s ok 1352 /checksum/SHA384/reset/54 786s ok 1353 /checksum/SHA384/reset/55 786s ok 1354 /checksum/SHA384/reset/56 786s ok 1355 /checksum/SHA384/reset/57 786s ok 1356 /checksum/SHA384/reset/58 786s ok 1357 /checksum/SHA384/reset/59 786s ok 1358 /checksum/SHA384/reset/60 786s ok 1359 /checksum/SHA384/reset/61 786s ok 1360 /checksum/SHA384/reset/62 786s ok 1361 /checksum/SHA384/reset/63 786s ok 1362 /checksum/SHA384/reset/64 786s ok 1363 /checksum/SHA384/reset/65 786s ok 1364 /checksum/SHA384/reset/66 786s ok 1365 /checksum/SHA384/reset/67 786s ok 1366 /checksum/SHA384/reset/68 786s ok 1367 /checksum/SHA384/reset/69 786s ok 1368 /checksum/SHA384/reset/70 786s ok 1369 /checksum/SHA384/reset/71 786s ok 1370 /checksum/SHA384/reset/72 786s ok 1371 /checksum/SHA384/reset/73 786s ok 1372 /checksum/SHA384/reset/74 786s ok 1373 /checksum/SHA384/reset/75 786s ok 1374 /checksum/SHA384/reset/76 786s ok 1375 /checksum/SHA384/reset/77 786s ok 1376 /checksum/SHA384/reset/78 786s ok 1377 /checksum/SHA384/reset/79 786s ok 1378 /checksum/SHA384/reset/80 786s ok 1379 /checksum/SHA384/reset/81 786s ok 1380 /checksum/SHA384/reset/82 786s ok 1381 /checksum/SHA384/reset/83 786s ok 1382 /checksum/SHA384/reset/84 786s ok 1383 /checksum/SHA384/reset/85 786s ok 1384 /checksum/SHA384/reset/86 786s ok 1385 /checksum/SHA384/reset/87 786s ok 1386 /checksum/SHA384/reset/88 786s ok 1387 /checksum/SHA384/reset/89 786s ok 1388 /checksum/SHA384/reset/90 786s ok 1389 /checksum/SHA384/reset/91 786s ok 1390 /checksum/SHA384/reset/92 786s ok 1391 /checksum/SHA384/reset/93 786s ok 1392 /checksum/SHA384/reset/94 786s ok 1393 /checksum/SHA384/reset/95 786s ok 1394 /checksum/SHA384/reset/96 786s ok 1395 /checksum/SHA384/reset/97 786s ok 1396 /checksum/SHA384/reset/98 786s ok 1397 /checksum/SHA384/reset/99 786s ok 1398 /checksum/SHA384/reset/100 786s ok 1399 /checksum/SHA384/reset/101 786s ok 1400 /checksum/SHA384/reset/102 786s ok 1401 /checksum/SHA384/reset/103 786s ok 1402 /checksum/SHA384/reset/104 786s ok 1403 /checksum/SHA384/reset/105 786s ok 1404 /checksum/SHA384/reset/106 786s ok 1405 /checksum/SHA384/reset/107 786s ok 1406 /checksum/SHA384/reset/108 786s ok 1407 /checksum/SHA384/reset/109 786s ok 1408 /checksum/SHA384/reset/110 786s ok 1409 /checksum/SHA384/reset/111 786s ok 1410 /checksum/SHA384/reset/112 786s ok 1411 /checksum/SHA384/reset/113 786s ok 1412 /checksum/SHA384/reset/114 786s ok 1413 /checksum/SHA384/reset/115 786s ok 1414 /checksum/SHA384/reset/116 786s ok 1415 /checksum/SHA384/reset/117 786s ok 1416 /checksum/SHA384/reset/118 786s ok 1417 /checksum/SHA384/reset/119 786s ok 1418 /checksum/SHA384/reset/120 786s ok 1419 /checksum/SHA384/reset/121 786s ok 1420 /checksum/SHA384/reset/122 786s ok 1421 /checksum/SHA384/reset/123 786s ok 1422 /checksum/SHA384/reset/124 786s ok 1423 /checksum/SHA384/reset/125 786s ok 1424 /checksum/SHA384/reset/126 786s ok 1425 /checksum/SHA384/reset/127 786s ok 1426 /checksum/SHA384/reset/128 786s ok 1427 /checksum/SHA384/reset/129 786s ok 1428 /checksum/SHA384/reset/130 786s ok 1429 /checksum/SHA384/reset/131 786s ok 1430 /checksum/SHA384/reset/132 786s ok 1431 /checksum/SHA384/reset/133 786s ok 1432 /checksum/SHA384/reset/134 786s ok 1433 /checksum/SHA384/reset/135 786s ok 1434 /checksum/SHA384/reset/136 786s ok 1435 /checksum/SHA384/reset/137 786s ok 1436 /checksum/SHA384/reset/138 786s ok 1437 /checksum/SHA384/reset/139 786s ok 1438 /checksum/SHA384/reset/140 786s ok 1439 /checksum/SHA384/reset/141 786s ok 1440 /checksum/SHA384/reset/142 786s ok 1441 /checksum/SHA384/reset/143 786s ok 1442 /checksum/SHA384/reset/144 786s ok 1443 /checksum/SHA384/reset/145 786s ok 1444 /checksum/SHA384/reset/146 786s ok 1445 /checksum/SHA384/reset/147 786s ok 1446 /checksum/SHA384/reset/148 786s ok 1447 /checksum/SHA384/reset/149 786s ok 1448 /checksum/SHA384/reset/150 786s ok 1449 /checksum/SHA384/reset/151 786s ok 1450 /checksum/SHA384/reset/152 786s ok 1451 /checksum/SHA384/reset/153 786s ok 1452 /checksum/SHA384/reset/154 786s ok 1453 /checksum/SHA384/reset/155 786s ok 1454 /checksum/SHA384/reset/156 786s ok 1455 /checksum/SHA384/reset/157 786s ok 1456 /checksum/SHA384/reset/158 786s ok 1457 /checksum/SHA384/reset/159 786s ok 1458 /checksum/SHA384/reset/160 786s ok 1459 /checksum/SHA384/reset/161 786s ok 1460 /checksum/SHA384/reset/162 786s ok 1461 /checksum/SHA384/reset/163 786s ok 1462 /checksum/SHA384/reset/164 786s ok 1463 /checksum/SHA384/reset/165 786s ok 1464 /checksum/SHA384/reset/166 786s ok 1465 /checksum/SHA384/reset/167 786s ok 1466 /checksum/SHA384/reset/168 786s ok 1467 /checksum/SHA384/reset/169 786s ok 1468 /checksum/SHA384/reset/170 786s ok 1469 /checksum/SHA384/reset/171 786s ok 1470 /checksum/SHA384/reset/172 786s ok 1471 /checksum/SHA384/reset/173 786s ok 1472 /checksum/SHA384/reset/174 786s ok 1473 /checksum/SHA384/reset/175 786s ok 1474 /checksum/SHA384/reset/176 786s ok 1475 /checksum/SHA384/reset/177 786s ok 1476 /checksum/SHA384/reset/178 786s ok 1477 /checksum/SHA384/reset/179 786s ok 1478 /checksum/SHA384/reset/180 786s ok 1479 /checksum/SHA384/reset/181 786s ok 1480 /checksum/SHA384/reset/182 786s ok 1481 /checksum/SHA384/reset/183 786s # End of reset tests 786s # End of SHA384 tests 786s # Start of SHA512 tests 786s ok 1482 /checksum/SHA512/0 786s ok 1483 /checksum/SHA512/1 786s ok 1484 /checksum/SHA512/2 786s ok 1485 /checksum/SHA512/3 786s ok 1486 /checksum/SHA512/4 786s ok 1487 /checksum/SHA512/5 786s ok 1488 /checksum/SHA512/6 786s ok 1489 /checksum/SHA512/7 786s ok 1490 /checksum/SHA512/8 786s ok 1491 /checksum/SHA512/9 786s ok 1492 /checksum/SHA512/10 786s ok 1493 /checksum/SHA512/11 786s ok 1494 /checksum/SHA512/12 786s ok 1495 /checksum/SHA512/13 786s ok 1496 /checksum/SHA512/14 786s ok 1497 /checksum/SHA512/15 786s ok 1498 /checksum/SHA512/16 786s ok 1499 /checksum/SHA512/17 786s ok 1500 /checksum/SHA512/18 786s ok 1501 /checksum/SHA512/19 786s ok 1502 /checksum/SHA512/20 786s ok 1503 /checksum/SHA512/21 786s ok 1504 /checksum/SHA512/22 786s ok 1505 /checksum/SHA512/23 786s ok 1506 /checksum/SHA512/24 786s ok 1507 /checksum/SHA512/25 786s ok 1508 /checksum/SHA512/26 786s ok 1509 /checksum/SHA512/27 786s ok 1510 /checksum/SHA512/28 786s ok 1511 /checksum/SHA512/29 786s ok 1512 /checksum/SHA512/30 786s ok 1513 /checksum/SHA512/31 786s ok 1514 /checksum/SHA512/32 786s ok 1515 /checksum/SHA512/33 786s ok 1516 /checksum/SHA512/34 786s ok 1517 /checksum/SHA512/35 786s ok 1518 /checksum/SHA512/36 786s ok 1519 /checksum/SHA512/37 786s ok 1520 /checksum/SHA512/38 786s ok 1521 /checksum/SHA512/39 786s ok 1522 /checksum/SHA512/40 786s ok 1523 /checksum/SHA512/41 786s ok 1524 /checksum/SHA512/42 786s ok 1525 /checksum/SHA512/43 786s ok 1526 /checksum/SHA512/44 786s ok 1527 /checksum/SHA512/45 786s ok 1528 /checksum/SHA512/46 786s ok 1529 /checksum/SHA512/47 786s ok 1530 /checksum/SHA512/48 786s ok 1531 /checksum/SHA512/49 786s ok 1532 /checksum/SHA512/50 786s ok 1533 /checksum/SHA512/51 786s ok 1534 /checksum/SHA512/52 786s ok 1535 /checksum/SHA512/53 786s ok 1536 /checksum/SHA512/54 786s ok 1537 /checksum/SHA512/55 786s ok 1538 /checksum/SHA512/56 786s ok 1539 /checksum/SHA512/57 786s ok 1540 /checksum/SHA512/58 786s ok 1541 /checksum/SHA512/59 786s ok 1542 /checksum/SHA512/60 786s ok 1543 /checksum/SHA512/61 786s ok 1544 /checksum/SHA512/62 786s ok 1545 /checksum/SHA512/63 786s ok 1546 /checksum/SHA512/64 786s ok 1547 /checksum/SHA512/65 786s ok 1548 /checksum/SHA512/66 786s ok 1549 /checksum/SHA512/67 786s ok 1550 /checksum/SHA512/68 786s ok 1551 /checksum/SHA512/69 786s ok 1552 /checksum/SHA512/70 786s ok 1553 /checksum/SHA512/71 786s ok 1554 /checksum/SHA512/72 786s ok 1555 /checksum/SHA512/73 786s ok 1556 /checksum/SHA512/74 786s ok 1557 /checksum/SHA512/75 786s ok 1558 /checksum/SHA512/76 786s ok 1559 /checksum/SHA512/77 786s ok 1560 /checksum/SHA512/78 786s ok 1561 /checksum/SHA512/79 786s ok 1562 /checksum/SHA512/80 786s ok 1563 /checksum/SHA512/81 786s ok 1564 /checksum/SHA512/82 786s ok 1565 /checksum/SHA512/83 786s ok 1566 /checksum/SHA512/84 786s ok 1567 /checksum/SHA512/85 786s ok 1568 /checksum/SHA512/86 786s ok 1569 /checksum/SHA512/87 786s ok 1570 /checksum/SHA512/88 786s ok 1571 /checksum/SHA512/89 786s ok 1572 /checksum/SHA512/90 786s ok 1573 /checksum/SHA512/91 786s ok 1574 /checksum/SHA512/92 786s ok 1575 /checksum/SHA512/93 786s ok 1576 /checksum/SHA512/94 786s ok 1577 /checksum/SHA512/95 786s ok 1578 /checksum/SHA512/96 786s ok 1579 /checksum/SHA512/97 786s ok 1580 /checksum/SHA512/98 786s ok 1581 /checksum/SHA512/99 786s ok 1582 /checksum/SHA512/100 786s ok 1583 /checksum/SHA512/101 786s ok 1584 /checksum/SHA512/102 786s ok 1585 /checksum/SHA512/103 786s ok 1586 /checksum/SHA512/104 786s ok 1587 /checksum/SHA512/105 786s ok 1588 /checksum/SHA512/106 786s ok 1589 /checksum/SHA512/107 786s ok 1590 /checksum/SHA512/108 786s ok 1591 /checksum/SHA512/109 786s ok 1592 /checksum/SHA512/110 786s ok 1593 /checksum/SHA512/111 786s ok 1594 /checksum/SHA512/112 786s ok 1595 /checksum/SHA512/113 786s ok 1596 /checksum/SHA512/114 786s ok 1597 /checksum/SHA512/115 786s ok 1598 /checksum/SHA512/116 786s ok 1599 /checksum/SHA512/117 786s ok 1600 /checksum/SHA512/118 786s ok 1601 /checksum/SHA512/119 786s ok 1602 /checksum/SHA512/120 786s ok 1603 /checksum/SHA512/121 786s ok 1604 /checksum/SHA512/122 786s ok 1605 /checksum/SHA512/123 786s ok 1606 /checksum/SHA512/124 786s ok 1607 /checksum/SHA512/125 786s ok 1608 /checksum/SHA512/126 786s ok 1609 /checksum/SHA512/127 786s ok 1610 /checksum/SHA512/128 786s ok 1611 /checksum/SHA512/129 786s ok 1612 /checksum/SHA512/130 786s ok 1613 /checksum/SHA512/131 786s ok 1614 /checksum/SHA512/132 786s ok 1615 /checksum/SHA512/133 786s ok 1616 /checksum/SHA512/134 786s ok 1617 /checksum/SHA512/135 786s ok 1618 /checksum/SHA512/136 786s ok 1619 /checksum/SHA512/137 786s ok 1620 /checksum/SHA512/138 786s ok 1621 /checksum/SHA512/139 786s ok 1622 /checksum/SHA512/140 786s ok 1623 /checksum/SHA512/141 786s ok 1624 /checksum/SHA512/142 786s ok 1625 /checksum/SHA512/143 786s ok 1626 /checksum/SHA512/144 786s ok 1627 /checksum/SHA512/145 786s ok 1628 /checksum/SHA512/146 786s ok 1629 /checksum/SHA512/147 786s ok 1630 /checksum/SHA512/148 786s ok 1631 /checksum/SHA512/149 786s ok 1632 /checksum/SHA512/150 786s ok 1633 /checksum/SHA512/151 786s ok 1634 /checksum/SHA512/152 786s ok 1635 /checksum/SHA512/153 786s ok 1636 /checksum/SHA512/154 786s ok 1637 /checksum/SHA512/155 786s ok 1638 /checksum/SHA512/156 786s ok 1639 /checksum/SHA512/157 786s ok 1640 /checksum/SHA512/158 786s ok 1641 /checksum/SHA512/159 786s ok 1642 /checksum/SHA512/160 786s ok 1643 /checksum/SHA512/161 786s ok 1644 /checksum/SHA512/162 786s ok 1645 /checksum/SHA512/163 786s ok 1646 /checksum/SHA512/164 786s ok 1647 /checksum/SHA512/165 786s ok 1648 /checksum/SHA512/166 786s ok 1649 /checksum/SHA512/167 786s ok 1650 /checksum/SHA512/168 786s ok 1651 /checksum/SHA512/169 786s ok 1652 /checksum/SHA512/170 786s ok 1653 /checksum/SHA512/171 786s ok 1654 /checksum/SHA512/172 786s ok 1655 /checksum/SHA512/173 786s ok 1656 /checksum/SHA512/174 786s ok 1657 /checksum/SHA512/175 786s ok 1658 /checksum/SHA512/176 786s ok 1659 /checksum/SHA512/177 786s ok 1660 /checksum/SHA512/178 786s ok 1661 /checksum/SHA512/179 786s ok 1662 /checksum/SHA512/180 786s ok 1663 /checksum/SHA512/181 786s ok 1664 /checksum/SHA512/182 786s ok 1665 /checksum/SHA512/183 786s ok 1666 /checksum/SHA512/string 786s ok 1667 /checksum/SHA512/bytes 786s # Start of reset tests 786s ok 1668 /checksum/SHA512/reset/0 786s ok 1669 /checksum/SHA512/reset/1 786s ok 1670 /checksum/SHA512/reset/2 786s ok 1671 /checksum/SHA512/reset/3 786s ok 1672 /checksum/SHA512/reset/4 786s ok 1673 /checksum/SHA512/reset/5 786s ok 1674 /checksum/SHA512/reset/6 786s ok 1675 /checksum/SHA512/reset/7 786s ok 1676 /checksum/SHA512/reset/8 786s ok 1677 /checksum/SHA512/reset/9 786s ok 1678 /checksum/SHA512/reset/10 786s ok 1679 /checksum/SHA512/reset/11 786s ok 1680 /checksum/SHA512/reset/12 786s ok 1681 /checksum/SHA512/reset/13 786s ok 1682 /checksum/SHA512/reset/14 786s ok 1683 /checksum/SHA512/reset/15 786s ok 1684 /checksum/SHA512/reset/16 786s ok 1685 /checksum/SHA512/reset/17 786s ok 1686 /checksum/SHA512/reset/18 786s ok 1687 /checksum/SHA512/reset/19 786s ok 1688 /checksum/SHA512/reset/20 786s ok 1689 /checksum/SHA512/reset/21 786s ok 1690 /checksum/SHA512/reset/22 786s ok 1691 /checksum/SHA512/reset/23 786s ok 1692 /checksum/SHA512/reset/24 786s ok 1693 /checksum/SHA512/reset/25 786s ok 1694 /checksum/SHA512/reset/26 786s ok 1695 /checksum/SHA512/reset/27 786s ok 1696 /checksum/SHA512/reset/28 786s ok 1697 /checksum/SHA512/reset/29 786s ok 1698 /checksum/SHA512/reset/30 786s ok 1699 /checksum/SHA512/reset/31 786s ok 1700 /checksum/SHA512/reset/32 786s ok 1701 /checksum/SHA512/reset/33 786s ok 1702 /checksum/SHA512/reset/34 786s ok 1703 /checksum/SHA512/reset/35 786s ok 1704 /checksum/SHA512/reset/36 786s ok 1705 /checksum/SHA512/reset/37 786s ok 1706 /checksum/SHA512/reset/38 786s ok 1707 /checksum/SHA512/reset/39 786s ok 1708 /checksum/SHA512/reset/40 786s ok 1709 /checksum/SHA512/reset/41 786s ok 1710 /checksum/SHA512/reset/42 786s ok 1711 /checksum/SHA512/reset/43 786s ok 1712 /checksum/SHA512/reset/44 786s ok 1713 /checksum/SHA512/reset/45 786s ok 1714 /checksum/SHA512/reset/46 786s ok 1715 /checksum/SHA512/reset/47 786s ok 1716 /checksum/SHA512/reset/48 786s ok 1717 /checksum/SHA512/reset/49 786s ok 1718 /checksum/SHA512/reset/50 786s ok 1719 /checksum/SHA512/reset/51 786s ok 1720 /checksum/SHA512/reset/52 786s ok 1721 /checksum/SHA512/reset/53 786s ok 1722 /checksum/SHA512/reset/54 786s ok 1723 /checksum/SHA512/reset/55 786s ok 1724 /checksum/SHA512/reset/56 786s ok 1725 /checksum/SHA512/reset/57 786s ok 1726 /checksum/SHA512/reset/58 786s ok 1727 /checksum/SHA512/reset/59 786s ok 1728 /checksum/SHA512/reset/60 786s ok 1729 /checksum/SHA512/reset/61 786s ok 1730 /checksum/SHA512/reset/62 786s ok 1731 /checksum/SHA512/reset/63 786s ok 1732 /checksum/SHA512/reset/64 786s ok 1733 /checksum/SHA512/reset/65 786s ok 1734 /checksum/SHA512/reset/66 786s ok 1735 /checksum/SHA512/reset/67 786s ok 1736 /checksum/SHA512/reset/68 786s ok 1737 /checksum/SHA512/reset/69 786s ok 1738 /checksum/SHA512/reset/70 786s ok 1739 /checksum/SHA512/reset/71 786s ok 1740 /checksum/SHA512/reset/72 786s ok 1741 /checksum/SHA512/reset/73 786s ok 1742 /checksum/SHA512/reset/74 786s ok 1743 /checksum/SHA512/reset/75 786s ok 1744 /checksum/SHA512/reset/76 786s ok 1745 /checksum/SHA512/reset/77 786s ok 1746 /checksum/SHA512/reset/78 786s ok 1747 /checksum/SHA512/reset/79 786s ok 1748 /checksum/SHA512/reset/80 786s ok 1749 /checksum/SHA512/reset/81 786s ok 1750 /checksum/SHA512/reset/82 786s ok 1751 /checksum/SHA512/reset/83 786s ok 1752 /checksum/SHA512/reset/84 786s ok 1753 /checksum/SHA512/reset/85 786s ok 1754 /checksum/SHA512/reset/86 786s ok 1755 /checksum/SHA512/reset/87 786s ok 1756 /checksum/SHA512/reset/88 786s ok 1757 /checksum/SHA512/reset/89 786s ok 1758 /checksum/SHA512/reset/90 786s ok 1759 /checksum/SHA512/reset/91 786s ok 1760 /checksum/SHA512/reset/92 786s ok 1761 /checksum/SHA512/reset/93 786s ok 1762 /checksum/SHA512/reset/94 786s ok 1763 /checksum/SHA512/reset/95 786s ok 1764 /checksum/SHA512/reset/96 786s ok 1765 /checksum/SHA512/reset/97 786s ok 1766 /checksum/SHA512/reset/98 786s ok 1767 /checksum/SHA512/reset/99 786s ok 1768 /checksum/SHA512/reset/100 786s ok 1769 /checksum/SHA512/reset/101 786s ok 1770 /checksum/SHA512/reset/102 786s ok 1771 /checksum/SHA512/reset/103 786s ok 1772 /checksum/SHA512/reset/104 786s ok 1773 /checksum/SHA512/reset/105 786s ok 1774 /checksum/SHA512/reset/106 786s ok 1775 /checksum/SHA512/reset/107 786s ok 1776 /checksum/SHA512/reset/108 786s ok 1777 /checksum/SHA512/reset/109 786s ok 1778 /checksum/SHA512/reset/110 786s ok 1779 /checksum/SHA512/reset/111 786s ok 1780 /checksum/SHA512/reset/112 786s ok 1781 /checksum/SHA512/reset/113 786s ok 1782 /checksum/SHA512/reset/114 786s ok 1783 /checksum/SHA512/reset/115 786s ok 1784 /checksum/SHA512/reset/116 786s ok 1785 /checksum/SHA512/reset/117 786s ok 1786 /checksum/SHA512/reset/118 786s ok 1787 /checksum/SHA512/reset/119 786s ok 1788 /checksum/SHA512/reset/120 786s ok 1789 /checksum/SHA512/reset/121 786s ok 1790 /checksum/SHA512/reset/122 786s ok 1791 /checksum/SHA512/reset/123 786s ok 1792 /checksum/SHA512/reset/124 786s ok 1793 /checksum/SHA512/reset/125 786s ok 1794 /checksum/SHA512/reset/126 786s ok 1795 /checksum/SHA512/reset/127 786s ok 1796 /checksum/SHA512/reset/128 786s ok 1797 /checksum/SHA512/reset/129 786s ok 1798 /checksum/SHA512/reset/130 786s ok 1799 /checksum/SHA512/reset/131 786s ok 1800 /checksum/SHA512/reset/132 786s ok 1801 /checksum/SHA512/reset/133 786s ok 1802 /checksum/SHA512/reset/134 786s ok 1803 /checksum/SHA512/reset/135 786s ok 1804 /checksum/SHA512/reset/136 786s ok 1805 /checksum/SHA512/reset/137 786s ok 1806 /checksum/SHA512/reset/138 786s ok 1807 /checksum/SHA512/reset/139 786s ok 1808 /checksum/SHA512/reset/140 786s ok 1809 /checksum/SHA512/reset/141 786s ok 1810 /checksum/SHA512/reset/142 786s ok 1811 /checksum/SHA512/reset/143 786s ok 1812 /checksum/SHA512/reset/144 786s ok 1813 /checksum/SHA512/reset/145 786s ok 1814 /checksum/SHA512/reset/146 786s ok 1815 /checksum/SHA512/reset/147 786s ok 1816 /checksum/SHA512/reset/148 786s ok 1817 /checksum/SHA512/reset/149 786s ok 1818 /checksum/SHA512/reset/150 786s ok 1819 /checksum/SHA512/reset/151 786s ok 1820 /checksum/SHA512/reset/152 786s ok 1821 /checksum/SHA512/reset/153 786s ok 1822 /checksum/SHA512/reset/154 786s ok 1823 /checksum/SHA512/reset/155 786s ok 1824 /checksum/SHA512/reset/156 786s ok 1825 /checksum/SHA512/reset/157 786s ok 1826 /checksum/SHA512/reset/158 786s ok 1827 /checksum/SHA512/reset/159 786s ok 1828 /checksum/SHA512/reset/160 786s ok 1829 /checksum/SHA512/reset/161 786s ok 1830 /checksum/SHA512/reset/162 786s ok 1831 /checksum/SHA512/reset/163 786s ok 1832 /checksum/SHA512/reset/164 786s ok 1833 /checksum/SHA512/reset/165 786s ok 1834 /checksum/SHA512/reset/166 786s ok 1835 /checksum/SHA512/reset/167 786s ok 1836 /checksum/SHA512/reset/168 786s ok 1837 /checksum/SHA512/reset/169 786s ok 1838 /checksum/SHA512/reset/170 786s ok 1839 /checksum/SHA512/reset/171 786s ok 1840 /checksum/SHA512/reset/172 786s ok 1841 /checksum/SHA512/reset/173 786s ok 1842 /checksum/SHA512/reset/174 786s ok 1843 /checksum/SHA512/reset/175 786s ok 1844 /checksum/SHA512/reset/176 786s ok 1845 /checksum/SHA512/reset/177 786s ok 1846 /checksum/SHA512/reset/178 786s ok 1847 /checksum/SHA512/reset/179 786s ok 1848 /checksum/SHA512/reset/180 786s ok 1849 /checksum/SHA512/reset/181 786s ok 1850 /checksum/SHA512/reset/182 786s ok 1851 /checksum/SHA512/reset/183 786s # End of reset tests 786s # End of SHA512 tests 786s # End of checksum tests 786s TAP version 14 786s # random seed: R02Se69153f0b4674e7b28d07a461d1c172e 786s 1..10 786s # Start of buffered-input-stream tests 786s ok 1 /buffered-input-stream/peek 786s ok 2 /buffered-input-stream/peek-buffer 786s ok 3 /buffered-input-stream/set-buffer-size 786s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 786s ok 4 /buffered-input-stream/read-byte 786s ok 5 /buffered-input-stream/read 786s ok 6 /buffered-input-stream/read-async 786s ok 7 /buffered-input-stream/skip 786s ok 8 /buffered-input-stream/skip-async 786s ok 9 /buffered-input-stream/seek 786s # End of buffered-input-stream tests 786s # Start of filter-input-stream tests 786s ok 10 /filter-input-stream/close 786s # End of filter-input-stream tests 786s ok - glib/checksum.test 786s # Running test: glib/buffered-input-stream.test 786s ok - glib/buffered-input-stream.test 786s # Running test: glib/unix.test 786s TAP version 14 786s # random seed: R02S82a3d346557466b627510ff52bc8c7e6 786s 1..20 786s # Start of glib-unix tests 786s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 786s ok 1 /glib-unix/closefrom 786s ok 2 /glib-unix/pipe 786s # /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 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 786s ok 3 /glib-unix/pipe-stdio-overwrite 786s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 786s ok 4 /glib-unix/pipe-struct 786s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 786s ok 5 /glib-unix/pipe-struct-auto 786s ok 6 /glib-unix/error 786s ok 7 /glib-unix/nonblocking 787s ok 8 /glib-unix/sighup 787s # slow test /glib-unix/sighup executed in 0.50 secs 787s ok 9 /glib-unix/sigterm 787s # slow test /glib-unix/sigterm executed in 0.50 secs 788s # Executing: glib/unix.test 788s ok 10 /glib-unix/sighup_again 788s # slow test /glib-unix/sighup_again executed in 0.50 secs 788s ok 11 /glib-unix/sighup_add_remove 788s ok 12 /glib-unix/sighup_nested 790s ok 13 /glib-unix/callback_after_signal 790s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 790s ok 14 /glib-unix/child-wait 790s # Start of closefrom tests 790s # Start of subprocess tests 790s # End of subprocess tests 790s # End of closefrom tests 790s # Start of pipe tests 790s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 790s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 790s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 790s ok 15 /glib-unix/pipe/fd-cloexec 790s # End of pipe tests 790s # Start of sighup tests 791s ok 16 /glib-unix/sighup/alternate-stack 791s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 791s # End of sighup tests 791s # Start of sigterm tests 792s ok 17 /glib-unix/sigterm/alternate-stack 792s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 792s # End of sigterm tests 792s # Start of sighup_again tests 793s # Executing: glib/unix.test 793s ok 18 /glib-unix/sighup_again/alternate-stack 793s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 793s # End of sighup_again tests 793s # Start of get-passwd-entry tests 793s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 793s ok 19 /glib-unix/get-passwd-entry/root 793s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 793s ok 20 /glib-unix/get-passwd-entry/nonexistent 793s # End of get-passwd-entry tests 793s # End of glib-unix tests 793s ok - glib/unix.test 793s # Running test: glib/trash.test 793s TAP version 14 793s # random seed: R02Sad4a0f9da2a5d60ef21958dcd0704d82 793s 1..3 793s # Start of trash tests 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 793s # File: /tmp/test-trash7N0U52 (parent st_dev: 64769) 793s # Home: /home/ubuntu (st_dev: 64769) 793s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 793s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 793s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 793s ok 3 /trash/long-filename 793s # End of trash tests 793s ok - glib/trash.test 793s # Running test: glib/filter-streams.test 793s TAP version 14 793s # random seed: R02S0e9feea339e0fafd7453fac8c77a6f2a 793s ok - glib/filter-streams.test 793s # Running test: glib/autoptr-girepository.test 793s 1..4 793s # Start of filter-stream tests 793s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 793s ok 1 /filter-stream/input 793s ok 2 /filter-stream/output 793s ok 3 /filter-stream/async-input 793s ok 4 /filter-stream/async-output 793s # End of filter-stream tests 793s TAP version 14 793s # random seed: R02S00925b783b05b95c01a2ac6d85f1a298 793s 1..24 793s # Start of autoptr tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/repository/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 1 /autoptr/repository 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/typelib/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 2 /autoptr/typelib 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/base-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 3 /autoptr/base-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/arg-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 4 /autoptr/arg-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/callable-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 5 /autoptr/callable-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/callback-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 6 /autoptr/callback-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/constant-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 7 /autoptr/constant-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/enum-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 8 /autoptr/enum-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/field-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 9 /autoptr/field-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/flags-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 10 /autoptr/flags-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/function-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 11 /autoptr/function-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/interface-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 12 /autoptr/interface-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/object-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 13 /autoptr/object-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/property-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 14 /autoptr/property-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/registered-type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 15 /autoptr/registered-type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/signal-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 16 /autoptr/signal-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/struct-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 17 /autoptr/struct-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 18 /autoptr/type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/union-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 19 /autoptr/union-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/value-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 20 /autoptr/value-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/autoptr/vfunc-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 21 /autoptr/vfunc-info 793s # End of autoptr tests 793s # Start of auto tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/auto/arg-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 22 /auto/arg-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/auto/type-info/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 23 /auto/type-info 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4IRU52/auto/function-invoker/.dirs/runtime 793s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 793s ok 24 /auto/function-invoker 793s # End of auto tests 793s ok - glib/autoptr-girepository.test 793s # Running test: glib/error.test 793s ok - glib/error.test 793s # Running test: glib/spawn-multithreaded.test 793s TAP version 14 793s # random seed: R02S30ae9f56c798616e32e84c07337ccf56 793s 1..3 793s # Start of error tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2I4U52/error/from-errno/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2I4U52/error/from-errno/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2I4U52/error/from-errno/.dirs/system-config1:/tmp/test_error_2I4U52/error/from-errno/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2I4U52/error/from-errno/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2I4U52/error/from-errno/.dirs/system-data1:/tmp/test_error_2I4U52/error/from-errno/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2I4U52/error/from-errno/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2I4U52/error/from-errno/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2I4U52/error/from-errno/.dirs/runtime 793s ok 1 /error/from-errno 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2I4U52/error/from-file-error/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2I4U52/error/from-file-error/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2I4U52/error/from-file-error/.dirs/system-config1:/tmp/test_error_2I4U52/error/from-file-error/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2I4U52/error/from-file-error/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2I4U52/error/from-file-error/.dirs/system-data1:/tmp/test_error_2I4U52/error/from-file-error/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2I4U52/error/from-file-error/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2I4U52/error/from-file-error/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2I4U52/error/from-file-error/.dirs/runtime 793s ok 2 /error/from-file-error 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/system-config1:/tmp/test_error_2I4U52/error/from-win32-error/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/system-data1:/tmp/test_error_2I4U52/error/from-win32-error/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2I4U52/error/from-win32-error/.dirs/runtime 793s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 793s # End of error tests 793s TAP version 14 793s # random seed: R02S3afed5ec471bf8db202ab9326576f41f 793s 1..4 793s # Start of gthread tests 794s # Child 5806 (ttl 1) exited, status 0 795s # Child 5807 (ttl 2) exited, status 0 795s ok 1 /gthread/spawn-childs 795s # slow test /gthread/spawn-childs executed in 2.00 secs 795s # Created pid: 5812 (ttl 1) 795s # Created pid: 5811 (ttl 2) 796s # Child 5812 (ttl 1) exited, status 0 797s # Child 5811 (ttl 2) exited, status 0 797s ok 2 /gthread/spawn-childs-threads 797s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 797s ok 3 /gthread/spawn-sync 797s ok 4 /gthread/spawn-async 797s # End of gthread tests 797s ok - glib/spawn-multithreaded.test 797s # Running test: glib/power-profile-monitor-portal.test 797s TAP version 13 797s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 798s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 798s 1..2 798s ok - glib/power-profile-monitor-portal.test 798s # Running test: glib/gdbus-test-codegen-old.test 798s TAP version 14 798s # random seed: R02S0609ac1bafa0cb423e1d34871d796d02 798s 1..8 798s # Start of gdbus tests 798s # Start of codegen tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/annotations/.dirs/runtime 798s ok 1 /gdbus/codegen/annotations 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/interface_stability/.dirs/runtime 798s ok 2 /gdbus/codegen/interface_stability 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/object-manager/.dirs/runtime 798s ok - glib/gdbus-test-codegen-old.test 798s # Running test: glib/option-context.test 798s ok 3 /gdbus/codegen/object-manager 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/property-naming/.dirs/runtime 798s ok 4 /gdbus/codegen/property-naming 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/autocleanups/.dirs/runtime 798s ok 5 /gdbus/codegen/autocleanups 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/deprecations/.dirs/runtime 798s ok 6 /gdbus/codegen/deprecations 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/standalone-interface-info/.dirs/runtime 798s ok 7 /gdbus/codegen/standalone-interface-info 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQXX52/gdbus/codegen/unix-fd-list/.dirs/runtime 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 798s ok 8 /gdbus/codegen/unix-fd-list 798s # End of codegen tests 798s # End of gdbus tests 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s TAP version 14 798s # random seed: R02S589e3ab38d889010ab7ad7d76919faa0 798s 1..58 798s # Start of option tests 798s ok 1 /option/basic 798s ok 2 /option/translate 798s ok 3 /option/strict-posix 798s # Start of help tests 798s ok 4 /option/help/options 798s ok 5 /option/help/no-options 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 798s ok 6 /option/help/no-help-options 798s # Usage: 798s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 798s # 798s # Summary 798s # 798s # Help Options: 798s # -h, --help Show help options 798s # 798s # Application Options: 798s # -t, --test=Argument to use in test (deprecated) Test tests 798s # --test2 Tests also 798s # 798s # Description 798s # 798s ok 7 /option/help/deprecated 798s # End of help tests 798s # Start of group tests 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 798s ok 8 /option/group/captions 798s ok 9 /option/group/main 798s ok 10 /option/group/error-hook 798s ok 11 /option/group/parse 798s # Start of captions tests 798s # Start of subprocess tests 798s # End of subprocess tests 798s # End of captions tests 798s # End of group tests 798s # Start of restoration tests 798s ok 12 /option/restoration/int 798s ok 13 /option/restoration/string 798s ok 14 /option/restoration/boolean 798s # End of restoration tests 798s # Start of arg tests 798s ok 15 /option/arg/reverse-string 798s ok 16 /option/arg/optional-int 798s # Start of repetition tests 798s ok 17 /option/arg/repetition/int 798s ok 18 /option/arg/repetition/string 798s ok 19 /option/arg/repetition/filename 798s ok 20 /option/arg/repetition/double 798s ok 21 /option/arg/repetition/locale 798s ok 22 /option/arg/repetition/int64 798s # End of repetition tests 798s # Start of array tests 798s ok 23 /option/arg/array/string 798s # End of array tests 798s # Start of callback tests 798s ok 24 /option/arg/callback/string 798s ok 25 /option/arg/callback/count 798s ok 26 /option/arg/callback/optional1 798s ok 27 /option/arg/callback/optional2 798s ok 28 /option/arg/callback/optional3 798s ok 29 /option/arg/callback/optional4 798s ok 30 /option/arg/callback/optional5 798s ok 31 /option/arg/callback/optional6 798s ok - glib/option-context.test 798s ok 32 /option/arg/callback/optional7 798s ok 33 /option/arg/callback/optional8 798s # End of callback tests 798s # Start of remaining tests 798s ok 34 /option/arg/remaining/callback 798s ok 35 /option/arg/remaining/callback-false 798s ok 36 /option/arg/remaining/non-option 798s ok 37 /option/arg/remaining/separator 798s ok 38 /option/arg/remaining/array 798s # End of remaining tests 798s # Start of ignore tests 798s ok 39 /option/arg/ignore/long 798s ok 40 /option/arg/ignore/short 798s ok 41 /option/arg/ignore/arg 798s # End of ignore tests 798s # Start of rest tests 798s ok 42 /option/arg/rest/non-option 798s ok 43 /option/arg/rest/separator1 798s ok 44 /option/arg/rest/separator2 798s ok 45 /option/arg/rest/separator3 798s ok 46 /option/arg/rest/separator4 798s ok 47 /option/arg/rest/separator5 798s # End of rest tests 798s # End of arg tests 798s # Start of context tests 798s ok 48 /option/context/add 798s ok 49 /option/context/empty2 798s ok 50 /option/context/empty3 798s # End of context tests 798s # Start of bug tests 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 798s ok 51 /option/bug/unknown-short 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 798s ok 52 /option/bug/lonely-dash 798s ok 53 /option/bug/triple-dash 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 798s ok 54 /option/bug/missing-arg 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 798s ok 55 /option/bug/dash-arg 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 798s ok 56 /option/bug/short-remaining 798s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 798s ok 57 /option/bug/double-free 798s ok 58 /option/bug/double-zero 798s # End of bug tests 798s # End of option tests 798s # Running test: glib/autoptr-gio.test 798s ok - glib/autoptr-gio.test 798s TAP version 14 798s # random seed: R02Sd71e00533043c4bf83e26f38e4b9a872 798s 1..1 798s # Start of autoptr tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 798s ok 1 /autoptr/autoptr 798s # End of autoptr tests 798s # Running test: glib/module-test-plugin.test 798s # Executing: glib/module-test-plugin.test 798s TAP version 14 798s # random seed: R02S09e320589fa8c39ff9c9da331940ed09 798s 1..3 798s # Start of module tests 798s ok 1 /module/basics 798s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 798s ok 2 /module/invalid-libtool-archive 798s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 798s ok 3 /module/local-binding 798s # End of module tests 798s ok - glib/module-test-plugin.test 798s # Running test: glib/stream-rw_all.test 798s TAP version 14 798s # random seed: R02Sb744d790ea5657a9b44a6029c19754db 798s 1..3 798s # Start of stream tests 798s # Start of read_all_async tests 798s ok 1 /stream/read_all_async/memory 798s # End of read_all_async tests 798s # Start of write_all_async tests 798s ok 2 /stream/write_all_async/memory 798s # End of write_all_async tests 798s # Start of read_write_all_async tests 798s ok - glib/stream-rw_all.test 798s ok 3 /stream/read_write_all_async/pipe 798s # End of read_write_all_async tests 798s # End of stream tests 798s # Running test: glib/gdbus-addresses.test 798s TAP version 14 798s # random seed: R02Sde99a9a938be68a879939f54ed07a9a4 798s 1..9 798s # Start of gdbus tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/empty-address/.dirs/runtime 798s ok 1 /gdbus/empty-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/unsupported-address/.dirs/runtime 798s ok 2 /gdbus/unsupported-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/home 798s ok - glib/gdbus-addresses.test 798s # Running test: glib/utf8-validate.test 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/address-parsing/.dirs/runtime 798s ok 3 /gdbus/address-parsing 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/unix-address/.dirs/runtime 798s ok 4 /gdbus/unix-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/nonce-tcp-address/.dirs/runtime 798s ok 5 /gdbus/nonce-tcp-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/tcp-address/.dirs/runtime 798s ok 6 /gdbus/tcp-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/autolaunch-address/.dirs/runtime 798s ok 7 /gdbus/autolaunch-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/mixed-address/.dirs/runtime 798s ok 8 /gdbus/mixed-address 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_HFHX52/gdbus/escape-address/.dirs/runtime 798s ok 9 /gdbus/escape-address 798s # End of gdbus tests 798s TAP version 14 798s # random seed: R02S9a8c62e29f20f7fc92917c2bdd11c6a7 798s 1..238 798s # Start of utf8 tests 798s # Vector 0 798s # Vector 1 798s # Vector 2 798s # Vector 3 798s # Vector 4 798s # Vector 5 798s # Vector 6 798s # Vector 7 798s # Vector 8 798s ok - glib/utf8-validate.test 798s # Running test: glib/portal-support-snap.test 798s # Vector 9 798s # Vector 10 798s # Vector 11 798s # Vector 12 798s # Vector 13 798s # Vector 14 798s # Vector 15 798s # Vector 16 798s # Vector 17 798s # Vector 18 798s # Vector 19 798s # Vector 20 798s # Vector 21 798s # Vector 22 798s # Vector 23 798s # Vector 24 798s # Vector 25 798s # Vector 26 798s # Vector 27 798s ok 1 /utf8/get-char-validated 798s # Start of validate tests 798s ok 2 /utf8/validate/0 798s ok 3 /utf8/validate/1 798s ok 4 /utf8/validate/2 798s ok 5 /utf8/validate/3 798s ok 6 /utf8/validate/4 798s ok 7 /utf8/validate/5 798s ok 8 /utf8/validate/6 798s ok 9 /utf8/validate/7 798s ok 10 /utf8/validate/8 798s ok 11 /utf8/validate/9 798s ok 12 /utf8/validate/10 798s ok 13 /utf8/validate/11 798s ok 14 /utf8/validate/12 798s ok 15 /utf8/validate/13 798s ok 16 /utf8/validate/14 798s ok 17 /utf8/validate/15 798s ok 18 /utf8/validate/16 798s ok 19 /utf8/validate/17 798s ok 20 /utf8/validate/18 798s ok 21 /utf8/validate/19 798s ok 22 /utf8/validate/20 798s ok 23 /utf8/validate/21 798s ok 24 /utf8/validate/22 798s ok 25 /utf8/validate/23 798s ok 26 /utf8/validate/24 798s ok 27 /utf8/validate/25 798s ok 28 /utf8/validate/26 798s ok 29 /utf8/validate/27 798s ok 30 /utf8/validate/28 798s ok 31 /utf8/validate/29 798s ok 32 /utf8/validate/30 798s ok 33 /utf8/validate/31 798s ok 34 /utf8/validate/32 798s ok 35 /utf8/validate/33 798s ok 36 /utf8/validate/34 798s ok 37 /utf8/validate/35 798s ok 38 /utf8/validate/36 798s ok 39 /utf8/validate/37 798s ok 40 /utf8/validate/38 798s ok 41 /utf8/validate/39 798s ok 42 /utf8/validate/40 798s ok 43 /utf8/validate/41 798s ok 44 /utf8/validate/42 798s ok 45 /utf8/validate/43 798s ok 46 /utf8/validate/44 798s ok 47 /utf8/validate/45 798s ok 48 /utf8/validate/46 798s ok 49 /utf8/validate/47 798s ok 50 /utf8/validate/48 798s ok 51 /utf8/validate/49 798s ok 52 /utf8/validate/50 798s ok 53 /utf8/validate/51 798s ok 54 /utf8/validate/52 798s ok 55 /utf8/validate/53 798s ok 56 /utf8/validate/54 798s ok 57 /utf8/validate/55 798s ok 58 /utf8/validate/56 798s ok 59 /utf8/validate/57 798s ok 60 /utf8/validate/58 798s ok 61 /utf8/validate/59 798s ok 62 /utf8/validate/60 798s ok 63 /utf8/validate/61 798s ok 64 /utf8/validate/62 798s ok 65 /utf8/validate/63 798s ok 66 /utf8/validate/64 798s ok 67 /utf8/validate/65 798s ok 68 /utf8/validate/66 798s ok 69 /utf8/validate/67 798s ok 70 /utf8/validate/68 798s ok 71 /utf8/validate/69 798s ok 72 /utf8/validate/70 798s ok 73 /utf8/validate/71 798s ok 74 /utf8/validate/72 798s ok 75 /utf8/validate/73 798s ok 76 /utf8/validate/74 798s ok 77 /utf8/validate/75 798s ok 78 /utf8/validate/76 798s ok 79 /utf8/validate/77 798s ok 80 /utf8/validate/78 798s ok 81 /utf8/validate/79 798s ok 82 /utf8/validate/80 798s ok 83 /utf8/validate/81 798s ok 84 /utf8/validate/82 798s ok 85 /utf8/validate/83 798s ok 86 /utf8/validate/84 798s ok 87 /utf8/validate/85 798s ok 88 /utf8/validate/86 798s ok 89 /utf8/validate/87 798s ok 90 /utf8/validate/88 798s ok 91 /utf8/validate/89 798s ok 92 /utf8/validate/90 798s ok 93 /utf8/validate/91 798s ok 94 /utf8/validate/92 798s ok 95 /utf8/validate/93 798s ok 96 /utf8/validate/94 798s ok 97 /utf8/validate/95 798s ok 98 /utf8/validate/96 798s ok 99 /utf8/validate/97 798s ok 100 /utf8/validate/98 798s ok 101 /utf8/validate/99 798s ok 102 /utf8/validate/100 798s ok 103 /utf8/validate/101 798s ok 104 /utf8/validate/102 798s ok 105 /utf8/validate/103 798s ok 106 /utf8/validate/104 798s ok 107 /utf8/validate/105 798s ok 108 /utf8/validate/106 798s ok 109 /utf8/validate/107 798s ok 110 /utf8/validate/108 798s ok 111 /utf8/validate/109 798s ok 112 /utf8/validate/110 798s ok 113 /utf8/validate/111 798s ok 114 /utf8/validate/112 798s ok 115 /utf8/validate/113 798s ok 116 /utf8/validate/114 798s ok 117 /utf8/validate/115 798s ok 118 /utf8/validate/116 798s ok 119 /utf8/validate/117 798s ok 120 /utf8/validate/118 798s ok 121 /utf8/validate/119 798s ok 122 /utf8/validate/120 798s ok 123 /utf8/validate/121 798s ok 124 /utf8/validate/122 798s ok 125 /utf8/validate/123 798s ok 126 /utf8/validate/124 798s ok 127 /utf8/validate/125 798s ok 128 /utf8/validate/126 798s ok 129 /utf8/validate/127 798s ok 130 /utf8/validate/128 798s ok 131 /utf8/validate/129 798s ok 132 /utf8/validate/130 798s ok 133 /utf8/validate/131 798s ok 134 /utf8/validate/132 798s ok 135 /utf8/validate/133 798s ok 136 /utf8/validate/134 798s ok 137 /utf8/validate/135 798s ok 138 /utf8/validate/136 798s ok 139 /utf8/validate/137 798s ok 140 /utf8/validate/138 798s ok 141 /utf8/validate/139 798s ok 142 /utf8/validate/140 798s ok 143 /utf8/validate/141 798s ok 144 /utf8/validate/142 798s ok 145 /utf8/validate/143 798s ok 146 /utf8/validate/144 798s ok 147 /utf8/validate/145 798s ok 148 /utf8/validate/146 798s ok 149 /utf8/validate/147 798s ok 150 /utf8/validate/148 798s ok 151 /utf8/validate/149 798s ok 152 /utf8/validate/150 798s ok 153 /utf8/validate/151 798s ok 154 /utf8/validate/152 798s ok 155 /utf8/validate/153 798s ok 156 /utf8/validate/154 798s ok 157 /utf8/validate/155 798s ok 158 /utf8/validate/156 798s ok 159 /utf8/validate/157 798s ok 160 /utf8/validate/158 798s ok 161 /utf8/validate/159 798s ok 162 /utf8/validate/160 798s ok 163 /utf8/validate/161 798s ok 164 /utf8/validate/162 798s ok 165 /utf8/validate/163 798s ok 166 /utf8/validate/164 798s ok 167 /utf8/validate/165 798s ok 168 /utf8/validate/166 798s ok 169 /utf8/validate/167 798s ok 170 /utf8/validate/168 798s ok 171 /utf8/validate/169 798s ok 172 /utf8/validate/170 798s ok 173 /utf8/validate/171 798s ok 174 /utf8/validate/172 798s ok 175 /utf8/validate/173 798s ok 176 /utf8/validate/174 798s ok 177 /utf8/validate/175 798s ok 178 /utf8/validate/176 798s ok 179 /utf8/validate/177 798s ok 180 /utf8/validate/178 798s ok 181 /utf8/validate/179 798s ok 182 /utf8/validate/180 798s ok 183 /utf8/validate/181 798s ok 184 /utf8/validate/182 798s ok 185 /utf8/validate/183 798s ok 186 /utf8/validate/184 798s ok 187 /utf8/validate/185 798s ok 188 /utf8/validate/186 798s ok 189 /utf8/validate/187 798s ok 190 /utf8/validate/188 798s ok 191 /utf8/validate/189 798s ok 192 /utf8/validate/190 798s ok 193 /utf8/validate/191 798s ok 194 /utf8/validate/192 798s ok 195 /utf8/validate/193 798s ok 196 /utf8/validate/194 798s ok 197 /utf8/validate/195 798s ok 198 /utf8/validate/196 798s ok 199 /utf8/validate/197 798s ok 200 /utf8/validate/198 798s ok 201 /utf8/validate/199 798s ok 202 /utf8/validate/200 798s ok 203 /utf8/validate/201 798s ok 204 /utf8/validate/202 798s ok 205 /utf8/validate/203 798s ok 206 /utf8/validate/204 798s ok 207 /utf8/validate/205 798s ok 208 /utf8/validate/206 798s ok 209 /utf8/validate/207 798s ok 210 /utf8/validate/208 798s ok 211 /utf8/validate/209 798s ok 212 /utf8/validate/210 798s ok 213 /utf8/validate/211 798s ok 214 /utf8/validate/212 798s ok 215 /utf8/validate/213 798s ok 216 /utf8/validate/214 798s ok 217 /utf8/validate/215 798s ok 218 /utf8/validate/216 798s ok 219 /utf8/validate/217 798s ok 220 /utf8/validate/218 798s ok 221 /utf8/validate/219 798s ok 222 /utf8/validate/220 798s ok 223 /utf8/validate/221 798s ok 224 /utf8/validate/222 798s ok 225 /utf8/validate/223 798s ok 226 /utf8/validate/224 798s ok 227 /utf8/validate/225 798s ok 228 /utf8/validate/226 798s ok 229 /utf8/validate/227 798s ok 230 /utf8/validate/228 798s ok 231 /utf8/validate/229 798s ok 232 /utf8/validate/230 798s ok 233 /utf8/validate/231 798s ok 234 /utf8/validate/232 798s ok 235 /utf8/validate/233 798s ok 236 /utf8/validate/234 798s ok 237 /utf8/validate/235 798s ok 238 /utf8/validate/236 798s # End of validate tests 798s # End of utf8 tests 798s TAP version 14 798s # random seed: R02S98be23b77ac65727cfa9569069fc3ab8 798s 1..7 798s # Start of portal-support tests 798s # Start of snap tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/no-snapctl: No such file or directory 798s ok 1 /portal-support/snap/no-snapctl 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/none/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/none: No such file or directory 798s ok 2 /portal-support/snap/none 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/all/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/all: No such file or directory 798s ok 3 /portal-support/snap/all 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/desktop-only: No such file or directory 798s ok 4 /portal-support/snap/desktop-only 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/network-only: No such file or directory 798s ok 5 /portal-support/snap/network-only 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/gsettings-only: No such file or directory 798s ok 6 /portal-support/snap/gsettings-only 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime 798s # Created snap.yaml in /tmp/test_portal-support-snap_THAX52/meta/snap.yaml 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s # Created snapctl in /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52/portal-support/snap/updates-dynamically: No such file or directory 798s ok 7 /portal-support/snap/updates-dynamically 798s # End of snap tests 798s # End of portal-support tests 798s Unable to clean up temporary directory /tmp/test_portal-support-snap_THAX52: No such file or directory 798s ok - glib/portal-support-snap.test 798s # Running test: glib/giomodule.test 798s TAP version 14 798s # random seed: R02Sbe877534f576d1c25041bca77ca8a751 798s 1..3 798s # Start of giomodule tests 798s ok 1 /giomodule/extension-point 798s ok 2 /giomodule/module-scan-all 798s ok 3 /giomodule/module-scan-all-with-scope 798s # End of giomodule tests 798s ok - glib/giomodule.test 798s # Running test: glib/function-info.test 798s TAP version 14 798s ok - glib/function-info.test 798s # random seed: R02S89c764dfd7dd176353f7d62514d14313 798s 1..1 798s # Start of function-info tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_YTGZ52/function-info/invoker/.dirs/runtime 798s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 798s # /function-info/invoker summary: Test preparing a function invoker 798s ok 1 /function-info/invoker 798s # End of function-info tests 798s # Running test: glib/bytes.test 798s TAP version 14 798s # random seed: R02Se4bd7fc8557a71cefc0f271913d04d16 798s 1..21 798s # Start of bytes tests 798s ok 1 /bytes/new 798s ok 2 /bytes/new-take 798s ok 3 /bytes/new-static 798s ok 4 /bytes/new-with-free-func 798s ok 5 /bytes/new-from-bytes 798s ok 6 /bytes/new-from-bytes-slice 798s ok 7 /bytes/new-from-bytes-shared-ref 798s ok 8 /bytes/hash 798s ok 9 /bytes/equal 798s ok 10 /bytes/compare 798s ok 11 /bytes/null 798s ok 12 /bytes/get-region 798s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 798s ok 13 /bytes/unref-null 798s # Start of to-data tests 798s ok 14 /bytes/to-data/transferred 798s ok 15 /bytes/to-data/two-refs 798s ok 16 /bytes/to-data/non-malloc 798s ok 17 /bytes/to-data/different-free-func 798s # End of to-data tests 798s # Start of to-array tests 798s ok 18 /bytes/to-array/transferred 798s ok 19 /bytes/to-array/two-refs 798s ok 20 /bytes/to-array/non-malloc 798s # Start of transferred tests 798s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 798s ok 21 /bytes/to-array/transferred/oversize 798s # End of transferred tests 798s # End of to-array tests 798s # End of bytes tests 798s ok - glib/bytes.test 798s # Running test: glib/sort.test 798s TAP version 14 798s # random seed: R02Sac5094761284ae0122a80674895490de 798s 1..5 798s # Start of sort tests 798s ok 1 /sort/basic 798s ok 2 /sort/zero-elements 798s ok 3 /sort/stable 798s ok 4 /sort/big 798s ok 5 /sort/deprecated 798s # End of sort tests 798s ok - glib/sort.test 798s # Running test: glib/gdbus-threading.test 798s TAP version 14 798s # random seed: R02S5e1156269d91fd5966dcb146bf94840f 798s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 798s ok - glib/gdbus-threading.test 798s # Running test: glib/unix-fd.test 798s TAP version 14 798s # random seed: R02Sb0d67ebbcdddb2183bed744eb1be1bbd 798s 1..2 798s # Start of unix-fd tests 798s ok 1 /unix-fd/fd-list 798s ok 2 /unix-fd/scm 798s # End of unix-fd tests 798s ok - glib/unix-fd.test 798s # Running test: glib/tls-database.test 798s ok - glib/tls-database.test 798s TAP version 14 798s # random seed: R02S9939ede696758b67e8e548ecd9704d1e 798s 1..1 798s # Start of tls-backend tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 798s ok 1 /tls-backend/set-default-database 798s # End of tls-backend tests 798s # Running test: glib/cxx-98.test 798s ok - glib/cxx-98.test 798s TAP version 14 798s # random seed: R02Sf3ec0ea082842649075c7b06a4699bd5 798s 1..2 798s # Start of gtask tests 798s # 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. 798s ok 1 /gtask/name 798s # Start of name tests 798s # 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. 798s ok 2 /gtask/name/macro-wrapper 798s # End of name tests 798s # End of gtask tests 798s # Running test: glib/debugcontroller.test 798s TAP version 14 798s # random seed: R02S8cdde67066fcf42823ace84de042f1e5 798s 1..3 798s # Start of debug-controller tests 798s # Start of dbus tests 798s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 798s # GLib-GIO-DEBUG: Debug output enabled 798s # GLib-GIO-DEBUG: Debug output disabled 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s ok 1 /debug-controller/dbus/basic 798s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s ok - glib/debugcontroller.test 798s # Running test: glib/proxy-test.test 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 798s ok 2 /debug-controller/dbus/duplicate 798s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 798s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 798s # End of dbus tests 798s # End of debug-controller tests 798s TAP version 14 798s # random seed: R02Sd0a12a835717e5eaab54508d5f5883a4 798s 1..11 798s # Start of proxy tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 798s ok 1 /proxy/direct_sync 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4830 and GSocketClientAsyncConnectData 0xb1df7a0b3da0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b5160 for GSocketClientAsyncConnectData 0xb1df7a0b3da0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s ok 2 /proxy/direct_async 798s ok 3 /proxy/single_sync 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4cd0 and GSocketClientAsyncConnectData 0xb1df7a0b3da0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b5830 for GSocketClientAsyncConnectData 0xb1df7a0b3da0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s ok 4 /proxy/single_async 798s ok 5 /proxy/multiple_sync 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4f60 and GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6b90 for GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6b30 for GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s ok 6 /proxy/multiple_async 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 798s ok 7 /proxy/invalid-uris-sync 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4b20 and GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4cd0 and GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4b20 and GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b51c0 for GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4cd0 and GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6dc0 for GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s ok 8 /proxy/invalid-uris-async 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4830 and GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 798s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b73f0 and GSocketClientAsyncConnectData 0xb1df7a0b50b0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6b90 for GSocketClientAsyncConnectData 0xb1df7a0b50b0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4b20 and GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6dc0 for GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s ok 9 /proxy/dns 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4830 and GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b62b0 for GSocketClientAsyncConnectData 0xb1df7a0b4ef0 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4b20 and GSocketClientAsyncConnectData 0xb1df7a0b4d90 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b62b0 for GSocketClientAsyncConnectData 0xb1df7a0b4d90 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 798s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 798s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1df7a0b4830 and GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 798s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1df7a0b6ad0 for GSocketClientAsyncConnectData 0xb1df7a0b6d50 798s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 798s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 798s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 798s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 798s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 798s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 798s ok 10 /proxy/override 798s ok 11 /proxy/enumerator-ports 798s # End of proxy tests 798s ok - glib/proxy-test.test 798s # Running test: glib/gobject-query.py.test 798s TAP version 13 798s ok 1 __main__.TestGobjectQuery.test_froots 798s # gobject-query: /usr/bin/gobject-query 798s # tmpdir: /tmp/tmpuoo5u44t 798s # Running: ['/usr/bin/gobject-query', 'froots'] 798s # Return code: 0 798s # Output: 798s # ├void 798s # ├GInterface 798s # │ â””GTypePlugin 798s # ├gchar 798s # ├guchar 798s # ├gboolean 798s # ├gint 798s # ├guint 798s # ├glong 798s # ├gulong 798s # ├gint64 798s # ├guint64 798s # ├GEnum 798s # ├GFlags 798s # ├gfloat 798s # ├gdouble 798s # ├gchararray 798s # ├gpointer 798s # │ â””GType 798s # ├GBoxed 798s # │ â””GValueArray 798s # ├GParam 798s # │ ├GParamChar 798s # │ ├GParamUChar 798s # │ ├GParamBoolean 798s # │ ├GParamInt 798s # │ ├GParamUInt 798s # │ ├GParamLong 798s # │ ├GParamULong 798s # │ ├GParamInt64 798s # │ ├GParamUInt64 798s # │ ├GParamUnichar 798s # │ ├GParamEnum 798s # │ ├GParamFlags 798s # │ ├GParamFloat 798s # │ ├GParamDouble 798s # │ ├GParamString 798s # │ ├GParamParam 798s # │ ├GParamBoxed 798s # │ ├GParamPointer 798s # │ ├GParamValueArray 798s # │ ├GParamObject 798s # │ ├GParamOverride 798s # │ ├GParamGType 798s # │ â””GParamVariant 798s # ├GObject 798s # â””GVariant 798s # Error: 798s ok 2 __main__.TestGobjectQuery.test_help 798s # gobject-query: /usr/bin/gobject-query 798s # tmpdir: /tmp/tmpmzgz727v 798s # Running: ['/usr/bin/gobject-query', '--help'] 798s # Return code: 0 798s # Output: 798s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 798s # -r specify root type 798s # -n don't descend type tree 798s # -h show help 798s # -b specify indent string 798s # -i specify incremental indent string 798s # -s specify line spacing 798s # qualifiers: 798s # froots iterate over fundamental roots 798s # tree print type tree 798s # Error: 798s ok 3 __main__.TestGobjectQuery.test_tree 798s # gobject-query: /usr/bin/gobject-query 798s # tmpdir: /tmp/tmpj4opvm2y 798s # Running: ['/usr/bin/gobject-query', 'tree'] 798s # Return code: 0 798s # Output: 798s # GObject 798s # Error: 798s ok 4 __main__.TestGobjectQuery.test_version 798s # gobject-query: /usr/bin/gobject-query 798s # tmpdir: /tmp/tmp5ocldh4v 798s # Running: ['/usr/bin/gobject-query', '--version'] 798s # Return code: 0 798s # Output: 798s # 2.84.1 798s # Error: 798s 1..4 798s ok - glib/gobject-query.py.test 798s # Running test: glib/cmph-bdz.test 798s TAP version 14 798s # random seed: R02S6fe90caa6ed31172e58f90593a6f2f8a 798s ok - glib/cmph-bdz.test 798s 1..2 798s # Start of cmph-bdz tests 798s ok 1 /cmph-bdz/search 798s ok 2 /cmph-bdz/search-packed 798s # End of cmph-bdz tests 798s # Running test: glib/mount-operation.test 798s TAP version 14 798s # random seed: R02Se3d5b6c4c2be7afd94e0208cb122a79d 798s 1..2 798s # Start of mount-operation tests 798s ok 1 /mount-operation/construction 798s ok 2 /mount-operation/properties 798s # End of mount-operation tests 798s ok - glib/mount-operation.test 798s # Running test: glib/static-link.test 798s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 798s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 798s and make sure you have glib build dependencies installed, including 798s meson. 798s ok # SKIP - glib/static-link.test 798s # Running test: glib/gsubprocess.test 798s TAP version 14 798s # random seed: R02S0d03a7ab12655bf5134b3ee04397f886 798s 1..84 798s # Start of gsubprocess tests 798s ok 1 /gsubprocess/noop 798s ok 2 /gsubprocess/noop-all-to-null 798s ok 3 /gsubprocess/noop-no-wait 798s ok 4 /gsubprocess/noop-stdin-inherit 798s ok 5 /gsubprocess/search-path 798s ok 6 /gsubprocess/search-path-from-envp 802s ok 7 /gsubprocess/signal 802s # slow test /gsubprocess/signal executed in 3.66 secs 802s ok 8 /gsubprocess/exit1 802s ok 9 /gsubprocess/echo1 802s ok 10 /gsubprocess/echo-merged 802s ok 11 /gsubprocess/cat-utf8 803s # Executing: glib/gsubprocess.test 803s ok 12 /gsubprocess/cat-eof 803s # slow test /gsubprocess/cat-eof executed in 1.00 secs 806s ok 13 /gsubprocess/multi1 806s # slow test /gsubprocess/multi1 executed in 3.01 secs 806s ok 14 /gsubprocess/communicate 808s # Executing: glib/gsubprocess.test 809s ok 15 /gsubprocess/terminate 809s # slow test /gsubprocess/terminate executed in 2.97 secs 809s ok 16 /gsubprocess/fail-initialization 809s ok 17 /gsubprocess/env 809s ok 18 /gsubprocess/cwd 809s ok 19 /gsubprocess/launcher-close 809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 809s ok 20 /gsubprocess/stdout-file 809s ok 21 /gsubprocess/stdout-fd 809s ok 22 /gsubprocess/child-setup 809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 809s ok 23 /gsubprocess/launcher-environment 809s # Start of exit1 tests 809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 809s ok 24 /gsubprocess/exit1/cancel 809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 809s ok 25 /gsubprocess/exit1/cancel_in_cb 809s # End of exit1 tests 809s # Start of communicate tests 809s ok 26 /gsubprocess/communicate/cancelled 809s ok 27 /gsubprocess/communicate/async 809s ok 28 /gsubprocess/communicate/utf8 809s # hello world 809s ok 29 /gsubprocess/communicate/no-pipes 809s ok 30 /gsubprocess/communicate/separate-stderr 809s ok 31 /gsubprocess/communicate/stdout-only 809s # hello world 809s ok 32 /gsubprocess/communicate/stderr-only 809s ok 33 /gsubprocess/communicate/stdout-silence 809s ok 34 /gsubprocess/communicate/nothing 809s # Start of async tests 809s ok 35 /gsubprocess/communicate/async/cancelled 809s # hello world 809s ok 36 /gsubprocess/communicate/async/no-pipes 809s ok 37 /gsubprocess/communicate/async/separate-stderr 809s ok 38 /gsubprocess/communicate/async/stdout-only 809s # hello world 809s ok 39 /gsubprocess/communicate/async/stderr-only 809s ok 40 /gsubprocess/communicate/async/stdout-silence 809s # Start of cancelled tests 809s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 809s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 809s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 809s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 809s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 809s # End of cancelled tests 809s # End of async tests 809s # Start of utf8 tests 809s ok 46 /gsubprocess/communicate/utf8/cancelled 809s ok 47 /gsubprocess/communicate/utf8/async 809s # hello world 809s ok 48 /gsubprocess/communicate/utf8/no-pipes 809s ok 49 /gsubprocess/communicate/utf8/separate-stderr 809s ok 50 /gsubprocess/communicate/utf8/stdout-only 809s # hello world 809s ok 51 /gsubprocess/communicate/utf8/stderr-only 809s ok 52 /gsubprocess/communicate/utf8/stdout-silence 809s ok 53 /gsubprocess/communicate/utf8/invalid 809s # Start of async tests 809s ok 54 /gsubprocess/communicate/utf8/async/cancelled 809s # hello world 809s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 809s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 809s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 809s # hello world 809s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 809s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 809s ok 60 /gsubprocess/communicate/utf8/async/invalid 809s # Start of cancelled tests 809s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 809s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 809s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 809s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 809s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 809s # End of cancelled tests 809s # End of async tests 809s # Start of cancelled tests 809s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 809s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 809s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 809s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 809s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 809s # End of cancelled tests 809s # End of utf8 tests 809s # Start of cancelled tests 809s ok 71 /gsubprocess/communicate/cancelled/no-pipes 809s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 809s ok 73 /gsubprocess/communicate/cancelled/stdout-only 809s ok 74 /gsubprocess/communicate/cancelled/stderr-only 809s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 809s # End of cancelled tests 809s # End of communicate tests 809s # Start of env tests 809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 809s ok 76 /gsubprocess/env/inherit 809s # End of env tests 809s # Start of pass-fd tests 809s ok 77 /gsubprocess/pass-fd/basic 809s ok 78 /gsubprocess/pass-fd/empty-child-setup 809s ok 79 /gsubprocess/pass-fd/inherit-fds 809s # End of pass-fd tests 809s # Start of fd-conflation tests 809s ok 80 /gsubprocess/fd-conflation/basic 809s ok 81 /gsubprocess/fd-conflation/empty-child-setup 809s ok 82 /gsubprocess/fd-conflation/inherit-fds 809s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 809s # End of fd-conflation tests 809s # Start of exit-status tests 809s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 809s ok 84 /gsubprocess/exit-status/trapped 809s # End of exit-status tests 809s # End of gsubprocess tests 809s ok - glib/gsubprocess.test 809s # Running test: glib/markup-parse.test 809s TAP version 14 809s # random seed: R02S7b1dd24b467b19e56de734b416fcf5bc 809s 1..71 809s # Start of markup tests 809s # Start of parse tests 809s ok 1 /markup/parse/fail-49.gmarkup 809s ok 2 /markup/parse/fail-46.gmarkup 809s ok 3 /markup/parse/fail-25.gmarkup 809s ok 4 /markup/parse/valid-13.gmarkup 809s ok 5 /markup/parse/fail-16.gmarkup 809s ok 6 /markup/parse/fail-38.gmarkup 809s ok 7 /markup/parse/fail-19.gmarkup 809s ok 8 /markup/parse/fail-10.gmarkup 809s ok 9 /markup/parse/fail-8.gmarkup 809s ok 10 /markup/parse/fail-30.gmarkup 809s ok 11 /markup/parse/fail-13.gmarkup 809s ok 12 /markup/parse/valid-12.gmarkup 809s ok 13 /markup/parse/valid-17.gmarkup 809s ok 14 /markup/parse/valid-3.gmarkup 809s ok 15 /markup/parse/valid-1.gmarkup 809s ok 16 /markup/parse/valid-7.gmarkup 809s ok 17 /markup/parse/fail-43.gmarkup 809s ok 18 /markup/parse/fail-42.gmarkup 809s ok 19 /markup/parse/valid-6.gmarkup 809s ok 20 /markup/parse/valid-11.gmarkup 809s ok 21 /markup/parse/fail-27.gmarkup 809s ok 22 /markup/parse/fail-1.gmarkup 809s ok 23 /markup/parse/fail-4.gmarkup 809s ok 24 /markup/parse/fail-12.gmarkup 809s ok 25 /markup/parse/fail-34.gmarkup 809s ok 26 /markup/parse/fail-53.gmarkup 809s ok 27 /markup/parse/valid-8.gmarkup 809s ok 28 /markup/parse/valid-9.gmarkup 809s ok 29 /markup/parse/fail-15.gmarkup 809s ok 30 /markup/parse/fail-45.gmarkup 809s ok 31 /markup/parse/valid-5.gmarkup 809s ok 32 /markup/parse/fail-31.gmarkup 809s ok 33 /markup/parse/fail-51.gmarkup 809s ok 34 /markup/parse/valid-16.gmarkup 809s ok 35 /markup/parse/fail-36.gmarkup 809s ok 36 /markup/parse/fail-41.gmarkup 809s ok 37 /markup/parse/fail-22.gmarkup 809s ok 38 /markup/parse/fail-39.gmarkup 809s ok 39 /markup/parse/fail-48.gmarkup 809s ok 40 /markup/parse/fail-54.gmarkup 809s ok 41 /markup/parse/fail-28.gmarkup 809s ok 42 /markup/parse/fail-47.gmarkup 809s ok 43 /markup/parse/fail-5.gmarkup 809s ok 44 /markup/parse/fail-33.gmarkup 809s ok 45 /markup/parse/fail-17.gmarkup 809s ok 46 /markup/parse/fail-44.gmarkup 809s ok 47 /markup/parse/fail-29.gmarkup 809s ok 48 /markup/parse/valid-2.gmarkup 809s ok 49 /markup/parse/fail-9.gmarkup 809s ok 50 /markup/parse/valid-10.gmarkup 809s ok 51 /markup/parse/fail-3.gmarkup 809s ok 52 /markup/parse/fail-37.gmarkup 809s ok 53 /markup/parse/valid-4.gmarkup 809s ok 54 /markup/parse/fail-40.gmarkup 809s ok 55 /markup/parse/fail-18.gmarkup 809s ok 56 /markup/parse/fail-6.gmarkup 809s ok 57 /markup/parse/fail-21.gmarkup 809s ok 58 /markup/parse/fail-50.gmarkup 809s ok 59 /markup/parse/fail-2.gmarkup 809s ok 60 /markup/parse/fail-24.gmarkup 809s ok 61 /markup/parse/fail-26.gmarkup 809s ok 62 /markup/parse/fail-7.gmarkup 809s ok 63 /markup/parse/valid-15.gmarkup 809s ok 64 /markup/parse/fail-52.gmarkup 809s ok 65 /markup/parse/fail-11.gmarkup 809s ok 66 /markup/parse/fail-35.gmarkup 809s ok - glib/markup-parse.test 809s # Running test: glib/g-file.test 809s ok 67 /markup/parse/fail-23.gmarkup 809s ok 68 /markup/parse/valid-14.gmarkup 809s ok 69 /markup/parse/fail-32.gmarkup 809s ok 70 /markup/parse/fail-20.gmarkup 809s ok 71 /markup/parse/fail-14.gmarkup 809s # End of parse tests 809s # End of markup tests 809s TAP version 14 809s # random seed: R02S820e99dfd8da4e5455745773d0cc0f26 809s 1..8 809s # Start of g-file tests 809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 809s ok 1 /g-file/test_g_file_new_null 809s ok 2 /g-file/test_g_file_new_for_path 809s ok 3 /g-file/test_g_file_new_for_uri 809s ok 4 /g-file/test_g_file_dup 809s ok 5 /g-file/test_g_file_get_parse_name_utf8 809s file:///tmp/test-tmp-glib_g-file.test-NSLS52 809s file:///tmp 809s file:///tmp 809s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 809s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 809s ok 6 /g-file/test_g_file_new_for_commandline_arg 809s /dir1 /dir1/dir2/dir3/ 809s /dir1/ /dir1/dir2/dir3/ 809s /dir1 /dir1/dir2/dir3 809s /dir1/ /dir1/dir2/dir3 809s /tmp/ /something/ 809s /dir1/dir2 /dir1/ 809s //dir1/new //dir1/new/dir2/dir3 809s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 809s file:///dir1 file:///dir1/dir2/dir3/ 809s file:///dir1/ file:///dir1/dir2/dir3/ 809s file:///dir1 file:///dir1/dir2/dir3 809s ok - glib/g-file.test 809s # Running test: glib/gdbus-export.test 809s file:///dir1/ file:///dir1/dir2/dir3 809s file:///tmp/ file:///something/ 809s file:///dir1/dir2 file:///dir1/ 809s file:////dir1/new file:////dir1/new/dir2/dir3 809s 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 809s ok 7 /g-file/test_g_file_has_prefix 809s ok 8 /g-file/test_g_file_get_parent_child 809s # End of g-file tests 809s TAP version 14 809s # random seed: R02Sc097c36a6cf4925cd2c9c23b43372f01 809s 1..7 809s # Start of gdbus tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration/.dirs/runtime 809s ok 1 /gdbus/object-registration 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures/.dirs/runtime 809s ok 2 /gdbus/object-registration-with-closures 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/object-registration-with-closures2/.dirs/runtime 809s ok 3 /gdbus/object-registration-with-closures2 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/registered-interfaces/.dirs/runtime 809s ok 4 /gdbus/registered-interfaces 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/async-properties/.dirs/runtime 809s ok 5 /gdbus/async-properties 809s # Start of threaded-unregistration tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/object/.dirs/runtime 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 809s # /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 810s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 810s # slow test /gdbus/threaded-unregistration/object executed in 1.09 secs 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_IBFS52/gdbus/threaded-unregistration/subtree/.dirs/runtime 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 810s # /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 811s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 811s # slow test /gdbus/threaded-unregistration/subtree executed in 1.13 secs 811s # End of threaded-unregistration tests 811s # End of gdbus tests 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok - glib/gdbus-export.test 811s # Running test: glib/refcount-macro.test 811s TAP version 14 811s # random seed: R02S0f3dcff1eb514193d6b11e46764d549d 811s 1..4 811s # Start of refcount tests 811s ok 1 /refcount/grefcount 811s ok 2 /refcount/gatomicrefcount 811s # Start of grefcount tests 811s ok 3 /refcount/grefcount/saturation 811s # End of grefcount tests 811s # Start of gatomicrefcount tests 811s ok - glib/refcount-macro.test 811s # Running test: glib/application-command-line.test 811s ok - glib/application-command-line.test 811s # Running test: glib/tls-bindings.test 811s ok - glib/tls-bindings.test 811s # Running test: glib/dir.test 811s ok - glib/dir.test 811s # Running test: glib/utils.test 811s ok 4 /refcount/gatomicrefcount/saturation 811s # End of gatomicrefcount tests 811s # End of refcount tests 811s TAP version 14 811s # random seed: R02Sf032161192df2c1be9447fb6f1ad750e 811s 1..1 811s # Start of application-command-line tests 811s ok 1 /application-command-line/basic-properties 811s # End of application-command-line tests 811s TAP version 14 811s # random seed: R02S16307e9f01fbab69ff559c491b80343a 811s 1..2 811s # Start of tls-connection tests 811s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 811s ok 1 /tls-connection/get-tls-channel-binding 811s ok 2 /tls-connection/get-dtls-channel-binding 811s # End of tls-connection tests 811s TAP version 14 811s # random seed: R02S60dbb1b4060f1422943c547692c5c127 811s 1..3 811s # Start of dir tests 811s ok 1 /dir/read 811s ok 2 /dir/nonexisting 811s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 811s ok 3 /dir/refcounting 811s # End of dir tests 811s TAP version 14 811s # random seed: R02S96b61e762ad0787e055706de0a3c9b8a 811s 1..41 811s # Start of utils tests 811s ok 1 /utils/language-names 811s ok 2 /utils/locale-variants 811s ok 3 /utils/version 811s ok 4 /utils/appname 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 811s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 811s ok 5 /utils/prgname-thread-safety 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 811s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 811s ok 6 /utils/tmpdir 811s ok 7 /utils/basic_bits 811s ok 8 /utils/bits 811s ok 9 /utils/swap 811s ok 10 /utils/find-program 811s ok 11 /utils/find-program-for-path 811s ok 12 /utils/debug 811s ok 13 /utils/codeset 811s ok 14 /utils/codeset2 811s ok 15 /utils/console-charset 811s ok 16 /utils/gettext 811s ok 17 /utils/username 811s ok 18 /utils/realname 811s ok 19 /utils/hostname 811s ok 20 /utils/xdgdirs 811s ok 21 /utils/specialdir 811s # NAME: Ubuntu 811s ok 22 /utils/os-info 811s ok 23 /utils/clear-pointer 811s ok 24 /utils/clear-pointer-cast 811s ok 25 /utils/take-pointer 811s ok 26 /utils/clear-source 811s ok 27 /utils/misc-mem 811s # /utils/aligned-mem summary: Aligned memory allocator 811s # Alignment must not be zero 811s # Alignment must be a power of two 811s # Alignment must be a multiple of sizeof(void*) 811s ok 28 /utils/aligned-mem 811s # /utils/free-sized summary: Check that g_free_sized() works 811s ok 29 /utils/free-sized 811s ok 30 /utils/nullify 811s ok 31 /utils/atexit 811s ok 32 /utils/check-setuid 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 811s ok 33 /utils/int-limits 811s ok - glib/utils.test 811s # Running test: glib/defaultiface.test 811s ok - glib/defaultiface.test 811s ok 34 /utils/clear-list 811s ok 35 /utils/clear-slist 811s ok 36 /utils/steal-handle-id 811s # Start of specialdir tests 811s ok 37 /utils/specialdir/desktop 811s # End of specialdir tests 811s # Start of clear-pointer tests 811s ok 38 /utils/clear-pointer/side-effects 811s # End of clear-pointer tests 811s # Start of aligned-mem tests 811s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 811s ok 39 /utils/aligned-mem/alignment 811s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 811s ok 40 /utils/aligned-mem/zeroed 811s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 811s ok 41 /utils/aligned-mem/free-sized 811s # Start of subprocess tests 811s # End of subprocess tests 811s # End of aligned-mem tests 811s # End of utils tests 811s TAP version 14 811s # random seed: R02S1a41bf43a6a6eb0ee4524acd507d2838 811s 1..2 811s # Start of gobject tests 811s ok 1 /gobject/static-iface 811s ok 2 /gobject/dynamic-iface 811s # End of gobject tests 811s # Running test: glib/macros-c-99.test 811s TAP version 14 811s # random seed: R02S133e8c34e439bd864e40261254e4cae2 811s 1..4 811s # Start of C tests 811s ok 1 /C/standard-99 811s # End of C tests 811s # Start of alignof tests 811s ok 2 /alignof/fallback 811s # End of alignof tests 811s # Start of assert tests 811s ok 3 /assert/static 811s # End of assert tests 811s # Start of struct tests 811s ok 4 /struct/sizeof_member 811s # End of struct tests 811s ok - glib/macros-c-99.test 811s # Running test: glib/hmac.test 811s TAP version 14 811s ok - glib/hmac.test 811s # random seed: R02S9728372457074a15ee0ceeec1b24c8a3 811s 1..37 811s # Start of hmac tests 811s ok 1 /hmac/sha1-1 811s ok 2 /hmac/sha1-2 811s ok 3 /hmac/sha1-3 811s ok 4 /hmac/sha1-4 811s ok 5 /hmac/sha1-5 811s ok 6 /hmac/sha1-6 811s ok 7 /hmac/sha1-7 811s ok 8 /hmac/sha256-1 811s ok 9 /hmac/sha256-2 811s ok 10 /hmac/sha256-3 811s ok 11 /hmac/sha256-4 811s ok 12 /hmac/sha256-5 811s ok 13 /hmac/sha256-6 811s ok 14 /hmac/sha384-1 811s ok 15 /hmac/sha384-2 811s ok 16 /hmac/sha384-3 811s ok 17 /hmac/sha384-4 811s ok 18 /hmac/sha384-5 811s ok 19 /hmac/sha384-6 811s ok 20 /hmac/sha512-1 811s ok 21 /hmac/sha512-2 811s ok 22 /hmac/sha512-3 811s ok 23 /hmac/sha512-4 811s ok 24 /hmac/sha512-5 811s ok 25 /hmac/sha512-6 811s ok 26 /hmac/md5-1 811s ok 27 /hmac/md5-2 811s ok 28 /hmac/md5-3 811s ok 29 /hmac/md5-4 811s ok 30 /hmac/md5-5 811s ok 31 /hmac/md5-6 811s ok 32 /hmac/md5-7 811s ok 33 /hmac/ref-unref 811s ok 34 /hmac/copy 811s ok 35 /hmac/for-data 811s ok 36 /hmac/for-string 811s ok 37 /hmac/for-bytes 811s # End of hmac tests 811s # Running test: glib/fdo-notification-backend.test 811s TAP version 14 811s # random seed: R02S5dfeae776145cdc41127266716430e88 811s 1..2 811s # Start of fdo-notification-backend tests 811s # Test constructing a GFdoNotificationBackend 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 1 /fdo-notification-backend/construction 811s # Start of dbus tests 811s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 2 /fdo-notification-backend/dbus/activate-action 811s # End of dbus tests 811s # End of fdo-notification-backend tests 811s ok - glib/fdo-notification-backend.test 811s # Running test: glib/gdbus-serialization.test 811s TAP version 14 811s # random seed: R02S1184cbf8637e2056850c1d4cef4f8cf0 811s 1..18 811s # Start of gdbus tests 811s # Start of message-serialize tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/basic/.dirs/runtime 811s ok 1 /gdbus/message-serialize/basic 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/complex/.dirs/runtime 811s ok 2 /gdbus/message-serialize/complex 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/invalid/.dirs/runtime 811s ok 3 /gdbus/message-serialize/invalid 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/.dirs/runtime 811s ok 4 /gdbus/message-serialize/header-checks 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/double-array/.dirs/runtime 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 811s ok 5 /gdbus/message-serialize/double-array 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/empty-structure/.dirs/runtime 811s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 811s ok 6 /gdbus/message-serialize/empty-structure 811s # Start of header-checks tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-serialize/header-checks/valid/.dirs/runtime 811s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 811s ok 7 /gdbus/message-serialize/header-checks/valid 811s # End of header-checks tests 811s # End of message-serialize tests 811s # Start of message-parse tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 811s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/non-signature-header/.dirs/runtime 811s ok 9 /gdbus/message-parse/non-signature-header 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-signature-header/.dirs/runtime 811s ok 10 /gdbus/message-parse/empty-signature-header 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/multiple-signature-header/.dirs/runtime 811s ok 11 /gdbus/message-parse/multiple-signature-header 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/over-long-signature-header/.dirs/runtime 811s ok 12 /gdbus/message-parse/over-long-signature-header 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-header-nesting/.dirs/runtime 811s ok 13 /gdbus/message-parse/deep-header-nesting 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/deep-body-nesting/.dirs/runtime 811s ok 14 /gdbus/message-parse/deep-body-nesting 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/truncated/.dirs/runtime 811s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 811s ok 15 /gdbus/message-parse/truncated 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/empty-structure/.dirs/runtime 811s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 811s ok 16 /gdbus/message-parse/empty-structure 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/data 811s ok - glib/gdbus-serialization.test 811s # Running test: glib/socket-address.test 811s ok - glib/socket-address.test 811s # Running test: glib/rec-mutex.test 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/missing-header/.dirs/runtime 811s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 811s ok 17 /gdbus/message-parse/missing-header 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EON852/gdbus/message-parse/invalid-header-type/.dirs/runtime 811s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 811s ok 18 /gdbus/message-parse/invalid-header-type 811s # End of message-parse tests 811s # End of gdbus tests 811s TAP version 14 811s # random seed: R02S1f3c8893765ea53fd7c8848e87838883 811s 1..2 811s # Start of socket tests 811s # Start of address tests 811s # Start of unix tests 811s ok 1 /socket/address/unix/construct 811s ok 2 /socket/address/unix/to-string 811s # End of unix tests 811s # End of address tests 811s # End of socket tests 811s TAP version 14 811s # random seed: R02S5d7037e891bc83e89c8abac51c775b1d 811s 1..29 811s # Start of thread tests 811s ok 1 /thread/rec-mutex1 811s ok 2 /thread/rec-mutex2 811s ok 3 /thread/rec-mutex3 811s ok 4 /thread/rec-mutex4 811s # Start of rec-mutex tests 811s # Start of perf tests 811s # Start of uncontended tests 811s # max perf: inf mips 811s ok 5 /thread/rec-mutex/perf/uncontended/depth1 811s # max perf: 1.000000 mips 811s ok 6 /thread/rec-mutex/perf/uncontended/depth2 811s # max perf: 1.000000 mips 811s ok 7 /thread/rec-mutex/perf/uncontended/depth3 811s # max perf: 1.000000 mips 811s ok 8 /thread/rec-mutex/perf/uncontended/depth4 811s # max perf: 1.000000 mips 811s ok 9 /thread/rec-mutex/perf/uncontended/depth5 811s # End of uncontended tests 811s # Start of contended1 tests 811s # max perf: 2.000000 mips 811s ok 10 /thread/rec-mutex/perf/contended1/depth1 811s # max perf: 2.000000 mips 811s ok 11 /thread/rec-mutex/perf/contended1/depth2 811s # max perf: 2.000000 mips 811s ok 12 /thread/rec-mutex/perf/contended1/depth3 811s # max perf: 2.000000 mips 811s ok 13 /thread/rec-mutex/perf/contended1/depth4 811s # max perf: 2.000000 mips 811s ok 14 /thread/rec-mutex/perf/contended1/depth5 811s # End of contended1 tests 811s # Start of contended2 tests 811s # max perf: 3.000000 mips 811s ok 15 /thread/rec-mutex/perf/contended2/depth1 811s # max perf: 0.066667 mips 811s ok 16 /thread/rec-mutex/perf/contended2/depth2 811s # max perf: 3.000000 mips 811s ok 17 /thread/rec-mutex/perf/contended2/depth3 811s # max perf: 3.000000 mips 811s ok 18 /thread/rec-mutex/perf/contended2/depth4 811s # max perf: 3.000000 mips 811s ok 19 /thread/rec-mutex/perf/contended2/depth5 811s # End of contended2 tests 811s # Start of contended3 tests 811s # max perf: 4.000000 mips 811s ok 20 /thread/rec-mutex/perf/contended3/depth1 811s # max perf: 4.000000 mips 811s ok 21 /thread/rec-mutex/perf/contended3/depth2 811s # max perf: 4.000000 mips 811s ok 22 /thread/rec-mutex/perf/contended3/depth3 811s # max perf: 4.000000 mips 811s ok 23 /thread/rec-mutex/perf/contended3/depth4 811s # max perf: 2.000000 mips 811s ok 24 /thread/rec-mutex/perf/contended3/depth5 811s # End of contended3 tests 811s # Start of contended4 tests 811s # max perf: 5.000000 mips 811s ok 25 /thread/rec-mutex/perf/contended4/depth1 811s # max perf: 5.000000 mips 811s ok 26 /thread/rec-mutex/perf/contended4/depth2 811s # max perf: 2.500000 mips 811s ok 27 /thread/rec-mutex/perf/contended4/depth3 811s # max perf: 2.500000 mips 811s ok 28 /thread/rec-mutex/perf/contended4/depth4 811s # max perf: 1.666667 mips 811s ok 29 /thread/rec-mutex/perf/contended4/depth5 811s # End of contended4 tests 811s # End of perf tests 811s # End of rec-mutex tests 811s # End of thread tests 811s ok - glib/rec-mutex.test 811s # Running test: glib/memory-output-stream.test 811s TAP version 14 811s # random seed: R02Sb6692288ff4735dc3297e18f2c13baac 811s 1..10 811s # Start of memory-output-stream tests 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 811s ok 1 /memory-output-stream/truncate 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 811s ok 2 /memory-output-stream/get-data-size 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 811s ok 3 /memory-output-stream/properties 811s ok 4 /memory-output-stream/write-bytes 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 811s ok 5 /memory-output-stream/write-null 811s ok 6 /memory-output-stream/writev 811s ok 7 /memory-output-stream/writev_nonblocking 811s ok 8 /memory-output-stream/steal_as_bytes 811s # Start of seek tests 811s ok 9 /memory-output-stream/seek/fixed 811s ok 10 /memory-output-stream/seek/resizable 811s # End of seek tests 811s # End of memory-output-stream tests 811s ok - glib/memory-output-stream.test 811s # Running test: glib/basics-gobject.test 811s TAP version 14 811s # random seed: R02Sef038a95121db5bfc58cb60a76e9202f 811s 1..1 811s # Start of gobject tests 811s # private data during initialization: 54321 == 54321 811s # MAIN: emit test-signal: 811s # ::test_signal default_handler called 811s # ::test_signal default_handler called 811s # ::test_signal default_handler called 811s # signal return: "" 811s # MAIN: call iface print-string on test and derived object: 811s # Iface-FOO: "iface-string-from-test-type" from 0xc18490189260 811s # Iface-BAR: "iface-string-from-derived-type" from 0xc1849017e820 811s # chaining: 811s # Iface-FOO: "iface-string-from-derived-type" from 0xc1849017e820 811s # private data after initialization: 54321 == 54321 811s ok 1 /gobject/basics 811s # End of gobject tests 811s ok - glib/basics-gobject.test 811s # Running test: glib/markup.test 811s TAP version 14 811s # random seed: R02S12768c201b510d95816b6ad4539d8ad1 811s 1..1 811s # Start of markup tests 811s ok 1 /markup/stack 811s # End of markup tests 811s ok - glib/markup.test 811s # Running test: glib/dump.test 811s TAP version 14 811s # random seed: R02S1fb7ea9aa8e72031a6b506030d08188e 811s 1..4 811s # Start of dump tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/system-config1:/tmp/test_dump_ZGAA62/dump/empty-file/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/system-data1:/tmp/test_dump_ZGAA62/dump/empty-file/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ZGAA62/dump/empty-file/.dirs/runtime 811s ok 1 /dump/empty-file 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/config 811s ok - glib/dump.test 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ZGAA62/dump/missing-get-type/.dirs/runtime 811s Invalid GType function: 'does_not_exist_get_type' 811s ok 2 /dump/missing-get-type 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ZGAA62/dump/missing-quark/.dirs/runtime 811s Invalid error quark function: 'does_not_exist_error' 811s ok 3 /dump/missing-quark 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_ZGAA62/dump/basic/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_ZGAA62/dump/basic/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_ZGAA62/dump/basic/.dirs/system-config1:/tmp/test_dump_ZGAA62/dump/basic/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_ZGAA62/dump/basic/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_ZGAA62/dump/basic/.dirs/system-data1:/tmp/test_dump_ZGAA62/dump/basic/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_ZGAA62/dump/basic/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_ZGAA62/dump/basic/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_ZGAA62/dump/basic/.dirs/runtime 811s ok 4 /dump/basic 811s # End of dump tests 811s # Running test: glib/cxx-14.test 811s TAP version 14 811s # random seed: R02S14bfe21537469470ec38d8bfd78c17e5 811s 1..2 811s # Start of gtask tests 811s # 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. 811s ok 1 /gtask/name 811s # Start of name tests 811s # 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. 811s ok 2 /gtask/name/macro-wrapper 811s # End of name tests 811s # End of gtask tests 811s ok - glib/cxx-14.test 811s # Running test: glib/credentials.test 811s TAP version 14 811s # random seed: R02S2cb161390edd4130d000fdb5f058e13e 811s 1..1 811s # Start of credentials tests 811s # GCredentials:linux-ucred:pid=8194,uid=1000,gid=1000 811s # GCredentials:linux-ucred:pid=8194,uid=0,gid=1000 811s ok 1 /credentials/basic 811s # End of credentials tests 811s ok - glib/credentials.test 811s # Running test: glib/signals-refcount3.test 811s TAP version 14 811s # random seed: R02S94470e1fa6ae51ac9cb2ae7b8dc48142 811s 1..1 811s # Start of gobject tests 811s # Start of refcount tests 811s # init 0xb6b06452cdd0 811s # 811s # init 0xb6b064523610 811s # 813s # Executing: glib/signals-refcount3.test 816s ok - glib/signals-refcount3.test 816s # dispose 0xb6b06452cdd0! 816s # 816s # dispose 0xb6b064523610! 816s # 816s ok 1 /gobject/refcount/signals 816s # slow test /gobject/refcount/signals executed in 5.00 secs 816s # End of refcount tests 816s # End of gobject tests 816s # Running test: glib/thumbnail-verification.test 816s TAP version 14 816s # random seed: R02S9d311b8b7dd6be9212dbd52f6611fe15 816s 1..1 816s # Start of png-thumbs tests 816s ok 1 /png-thumbs/validity 816s # End of png-thumbs tests 816s ok - glib/thumbnail-verification.test 816s # Running test: glib/cxx-03.test 816s TAP version 14 816s # random seed: R02S082b8e068ac439261c810657ec612e4e 816s 1..2 816s # Start of gtask tests 816s ok - glib/cxx-03.test 816s # Running test: glib/gnotification.test 816s ok - glib/gnotification.test 816s # Running test: glib/throws.test 816s # 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. 816s ok 1 /gtask/name 816s # Start of name tests 816s # 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. 816s ok 2 /gtask/name/macro-wrapper 816s # End of name tests 816s # End of gtask tests 816s TAP version 14 816s # random seed: R02Sd90f5199c5b79d3494c5219cdc828797 816s 1..2 816s # Start of gnotification tests 816s ok 1 /gnotification/basic 816s ok 2 /gnotification/properties 816s # End of gnotification tests 816s TAP version 14 816s # random seed: R02Seb83f2164884b8d378d6ea93a2d69101 816s 1..3 816s # Start of throws tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VTHB62/throws/invoke-gerror/.dirs/runtime 816s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 816s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 816s ok 1 /throws/invoke-gerror 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VTHB62/throws/vfunc-can-throw-gerror/.dirs/runtime 816s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 816s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 816s ok 2 /throws/vfunc-can-throw-gerror 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/config 816s ok - glib/throws.test 816s # Running test: glib/gdbus-method-invocation.test 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_VTHB62/throws/callback-can-throw-gerror/.dirs/runtime 816s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 816s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 816s ok 3 /throws/callback-can-throw-gerror 816s # End of throws tests 816s TAP version 14 816s # random seed: R02S371ff27fb5081ae91af8fb4020ce71af 816s 1..1 816s # Start of gdbus tests 816s # Start of method-invocation tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_0UAB62/gdbus/method-invocation/return/.dirs/runtime 816s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 816s # Calling org.freedesktop.DBus.Properties.Get 816s # Calling org.freedesktop.DBus.Properties.Get 816s # Calling org.freedesktop.DBus.Properties.Get 816s # Calling org.freedesktop.DBus.Properties.Set 816s # Calling org.freedesktop.DBus.Properties.GetAll 816s # Calling org.example.Foo.WrongReturnType 816s # Calling org.example.Foo.GetFDs 816s # Calling org.example.Foo.GetFDs 816s # Calling org.example.Foo.ReturnError 816s # Calling org.example.Foo.CloseBeforeReturning 816s ok 1 /gdbus/method-invocation/return 816s # End of method-invocation tests 816s # End of gdbus tests 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok - glib/gdbus-method-invocation.test 816s # Running test: glib/1bit-mutex.test 816s TAP version 14 816s # random seed: R02S9ba035044ead7e39906a9fe575e6e3ad 816s 1..2 816s # Start of glib tests 816s # Start of 1bit-mutex tests 818s # Executing: glib/1bit-mutex.test 820s ok 1 /glib/1bit-mutex/int 820s # slow test /glib/1bit-mutex/int executed in 3.86 secs 823s # Executing: glib/1bit-mutex.test 824s ok 2 /glib/1bit-mutex/pointer 824s # slow test /glib/1bit-mutex/pointer executed in 3.79 secs 824s # End of 1bit-mutex tests 824s # End of glib tests 824s ok - glib/1bit-mutex.test 824s # Running test: glib/converter-stream.test 824s TAP version 14 824s # random seed: R02S5330690c8d5f4a7fa127a3bbefc653a7 824s 1..17 824s # Start of converter tests 824s ok 1 /converter/basics 824s # End of converter tests 824s # Start of converter-input-stream tests 824s ok 2 /converter-input-stream/expander 824s ok 3 /converter-input-stream/compressor 824s # Start of truncation tests 824s ok 4 /converter-input-stream/truncation/zlib 824s ok 5 /converter-input-stream/truncation/gzip 824s ok 6 /converter-input-stream/truncation/raw 824s # End of truncation tests 824s # Start of charset tests 824s ok 7 /converter-input-stream/charset/utf8->latin1 824s ok 8 /converter-input-stream/charset/latin1->utf8 824s ok 9 /converter-input-stream/charset/fallbacks 824s # End of charset tests 824s # End of converter-input-stream tests 824s # Start of converter-output-stream tests 824s # Start of roundtrip tests 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 10 /converter-output-stream/roundtrip/zlib-0 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 11 /converter-output-stream/roundtrip/zlib-9 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 12 /converter-output-stream/roundtrip/gzip-0 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 13 /converter-output-stream/roundtrip/gzip-9 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 14 /converter-output-stream/roundtrip/raw-0 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 825s ok 15 /converter-output-stream/roundtrip/raw-9 825s # End of roundtrip tests 825s # End of converter-output-stream tests 825s # Start of converter-stream tests 825s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 825s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc62b1ab0e780 and GSocketClientAsyncConnectData 0xc62b1ab0b5b0 825s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 825s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 825s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc62b1a71fba0 for GSocketClientAsyncConnectData 0xc62b1ab0b5b0 825s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 825s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 825s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 825s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 825s ok 16 /converter-stream/pollable 825s ok 17 /converter-stream/leftover 825s # End of converter-stream tests 825s ok - glib/converter-stream.test 825s # Running test: glib/portal-support-flatpak-gsettings-only.test 825s TAP version 14 825s # random seed: R02S3888178129f8e454d91f29b9fe79d529 825s 1..1 825s # Start of portal-support tests 825s # Start of flatpak tests 825s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/home 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/cache 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/system-config2 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/config 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/system-data2 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/data 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/state 825s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/runtime 825s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_PLSS52/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 825s ok 1 /portal-support/flatpak/gsettings 825s # End of flatpak tests 825s ok - glib/portal-support-flatpak-gsettings-only.test 825s # Running test: glib/closure.test 825s # End of portal-support tests 825s TAP version 14 825s # random seed: R02Sc6d4d26b0ff16093227037b6a97a32c4 825s 1..6 825s # Start of closure tests 825s ok 1 /closure/idle 825s ok 2 /closure/timeout 825s ok 3 /closure/iochannel 825s ok 4 /closure/child 825s ok 5 /closure/fd 825s ok - glib/closure.test 825s # Running test: glib/unix-mounts.test 825s ok 6 /closure/signal 825s # End of closure tests 825s ok - glib/unix-mounts.test 825s TAP version 14 825s # random seed: R02Seddc1188d362d812338d42e70636fda4 825s 1..4 825s # Start of unix-mounts tests 825s ok 1 /unix-mounts/is-system-fs-type 825s ok 2 /unix-mounts/is-system-device-path 825s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 825s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 825s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 825s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 825s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 825s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 825s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 825s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 825s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 825s ok 3 /unix-mounts/get-mount-points 825s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 825s ok 4 /unix-mounts/get-mount-entries 825s # End of unix-mounts tests 825s # Running test: glib/objects-refcount1.test 825s TAP version 14 825s # random seed: R02S0f8a762ff23caac52d76c7ca9339eb4c 825s 1..1 825s # Start of gobject tests 825s # Start of refcount tests 825s # init 0xb31fe1679d30 825s # 825s # init 0xb31fe16725a0 825s # 828s # Executing: glib/objects-refcount1.test 830s # dispose 0xb31fe1679d30! 830s # 830s # dispose 0xb31fe16725a0! 830s # 830s ok 1 /gobject/refcount/object-basics 830s # slow test /gobject/refcount/object-basics executed in 5.00 secs 830s # End of refcount tests 830s # End of gobject tests 830s ok - glib/objects-refcount1.test 830s # Running test: glib/override.test 830s TAP version 14 830s # random seed: R02S683e100dd32870e0ae645ea1031f57d9 830s 1..1 830s # Start of gobject tests 830s # *** emitting foo on a TestA instance 830s # Expecting: TestA::foo,TestI::foo 830s # Got: TestA::foo,TestI::foo 830s # *** emitting bar on a TestA instance 830s # Expecting: TestA::bar 830s # Got: TestA::bar 830s # *** emitting baz on a TestA instance 830s # Expecting: TestA::baz 830s # Got: TestA::baz 830s # *** emitting foo on a TestB instance 830s # Expecting: TestB::foo,TestA::foo,TestI::foo 830s # Got: TestB::foo,TestA::foo,TestI::foo 830s # *** emitting bar on a TestB instance 830s # Expecting: TestB::bar,TestA::bar 830s # Got: TestB::bar,TestA::bar 830s # *** emitting baz on a TestB instance 830s # Expecting: TestB::baz,TestA::baz 830s # Got: TestB::baz,TestA::baz 830s # *** emitting foo on a TestC instance 830s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 830s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 830s # *** emitting bar on a TestC instance 830s # Expecting: TestC::bar,TestB::bar,TestA::bar 830s # Got: TestC::bar,TestB::bar,TestA::bar 830s # *** emitting baz on a TestC instance 830s # Expecting: TestC::baz,TestB::baz,TestA::baz 830s # Got: TestC::baz,TestB::baz,TestA::baz 830s ok 1 /gobject/override 830s # End of gobject tests 830s TAP version 14 830s # random seed: R02Sc84c48d6e7586442e588f11d2cc240f8 830s 1..19 830s # Start of resource tests 830s ok 1 /resource/file 830s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 830s ok 2 /resource/file-path 830s ok 3 /resource/data 830s ok 4 /resource/data_unaligned 830s ok 5 /resource/data-corrupt 830s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 830s ok 6 /resource/data-corrupt-compression 830s ok 7 /resource/data-empty 830s ok 8 /resource/registered 830s ok 9 /resource/manual 830s ok 10 /resource/manual2 830s ok 11 /resource/automatic 830s ok 12 /resource/module 830s ok 13 /resource/binary-linked 830s ok 14 /resource/64k 830s ok - glib/override.test 830s # Running test: glib/resources.test 830s ok - glib/resources.test 830s # Running test: glib/strfuncs.test 830s GLib-GIO-Message: 20:56:55.352: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 830s GLib-GIO-Message: 20:56:55.352: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 830s GLib-GIO-Message: 20:56:55.352: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 830s ok 15 /resource/overlay 830s ok 16 /resource/digits 830s ok 17 /resource/has-children 830s # Start of uri tests 830s ok 18 /resource/uri/query-info 830s ok 19 /resource/uri/file 830s # End of uri tests 830s # End of resource tests 830s TAP version 14 830s # random seed: R02Sc8c342e11c1953dd7efcce6d386c9bbe 830s 1..51 830s # Start of strfuncs tests 830s ok 1 /strfuncs/ascii-strcasecmp 830s ok 2 /strfuncs/ascii_strdown 830s ok 3 /strfuncs/ascii_strdup 830s ok 4 /strfuncs/ascii_strtod 830s ok 5 /strfuncs/bounds-check 830s ok 6 /strfuncs/has-prefix 830s ok 7 /strfuncs/has-prefix-macro 830s ok 8 /strfuncs/has-suffix 830s ok 9 /strfuncs/has-suffix-macro 830s ok 10 /strfuncs/memdup 830s ok 11 /strfuncs/memdup2 830s ok 12 /strfuncs/set_str 830s ok 13 /strfuncs/stpcpy 830s ok 14 /strfuncs/str_match_string 830s ok 15 /strfuncs/str_tokenize_and_fold 830s ok 16 /strfuncs/strcanon 830s ok 17 /strfuncs/strchomp 830s ok 18 /strfuncs/strchug 830s ok 19 /strfuncs/strcompress-strescape 830s ok 20 /strfuncs/strconcat 830s ok 21 /strfuncs/strdelimit 830s ok 22 /strfuncs/strdup 830s ok 23 /strfuncs/strdup-printf 830s ok 24 /strfuncs/strdupv 830s ok 25 /strfuncs/strerror 830s ok 26 /strfuncs/strip-context 830s ok 27 /strfuncs/strjoin 830s ok 28 /strfuncs/strjoinv 830s ok 29 /strfuncs/strlcat 830s ok 30 /strfuncs/strlcpy 830s ok 31 /strfuncs/strncasecmp 830s ok 32 /strfuncs/strndup 830s ok 33 /strfuncs/strnfill 830s ok 34 /strfuncs/strreverse 830s ok 35 /strfuncs/strsignal 830s ok 36 /strfuncs/strsplit 830s ok 37 /strfuncs/strsplit-set 830s ok 38 /strfuncs/strstr 830s ok 39 /strfuncs/strtod 830s ok 40 /strfuncs/strtoull-strtoll 830s ok 41 /strfuncs/strup 830s ok 42 /strfuncs/strv-contains 830s ok 43 /strfuncs/strv-equal 830s ok 44 /strfuncs/strv-length 830s ok 45 /strfuncs/test-is-to-digit 830s ok 46 /strfuncs/transliteration 830s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 830s ok 47 /strfuncs/str-equal 830s ok 48 /strfuncs/str-is-ascii 830s # Start of ascii-string-to-num tests 830s ok 49 /strfuncs/ascii-string-to-num/pathological 830s ok 50 /strfuncs/ascii-string-to-num/usual 830s # End of ascii-string-to-num tests 830s # Start of strdup tests 830s ok 51 /strfuncs/strdup/inline 830s # End of strdup tests 830s # End of strfuncs tests 830s TAP version 14 830s # random seed: R02S9fdf5c0e300511bc870aca3373ebd361 830s 1..4 830s # Start of network-monitor tests 830s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 830s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 830s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 830s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 830s ok - glib/strfuncs.test 830s # Running test: glib/network-monitor.test 830s ok 1 /network-monitor/default 830s ok 2 /network-monitor/remove_default 830s ok 3 /network-monitor/add_networks 830s ok - glib/network-monitor.test 830s ok 4 /network-monitor/remove_networks 830s # End of network-monitor tests 830s # Running test: glib/rcbox.test 830s TAP version 14 830s # random seed: R02Sece641778389deec37ae689bac28196e 830s 1..8 830s # Start of rcbox tests 830s ok 1 /rcbox/new 830s # global_point = 0xb875527348a0 830s ok 2 /rcbox/release-full 830s # global_point_a = 0xb875527348a0 830s # global_point_b = 0xb87552734970 830s ok 3 /rcbox/dup 830s ok 4 /rcbox/alignment 830s # End of rcbox tests 830s # Start of atomic-rcbox tests 830s ok 5 /atomic-rcbox/new 830s # global_point = 0xb87552734970 830s ok 6 /atomic-rcbox/release-full 830s # global_point_a = 0xb87552734970 830s # global_point_b = 0xb875527348a0 830s ok 7 /atomic-rcbox/dup 830s ok 8 /atomic-rcbox/alignment 830s # End of atomic-rcbox tests 830s ok - glib/rcbox.test 830s # Running test: glib/data-output-stream.test 830s TAP version 14 830s # random seed: R02Sfebf72aad5be6358f76e8299f3e955c7 830s 1..7 830s # Start of data-output-stream tests 830s ok 1 /data-output-stream/basic 830s ok 2 /data-output-stream/write-lines-LF 830s ok 3 /data-output-stream/write-lines-CR 830s ok - glib/data-output-stream.test 830s # Running test: glib/portal-support-none.test 830s ok 4 /data-output-stream/write-lines-CR-LF 830s ok 5 /data-output-stream/write-int 830s ok 6 /data-output-stream/seek 830s ok 7 /data-output-stream/truncate 830s # End of data-output-stream tests 830s TAP version 14 830s # random seed: R02Sdb2f7ce6380e21d76c30f7a780c68561 830s 1..1 830s # Start of portal-support tests 830s ok 1 /portal-support/none 830s # End of portal-support tests 830s ok - glib/portal-support-none.test 830s # Running test: glib/cancellable.test 830s TAP version 14 830s # random seed: R02S1892b3cf420345891e7efdfb247d8527 830s 1..18 830s # Start of cancellable tests 830s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 830s ok 2 /cancellable/null 830s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 830s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 830s ok 4 /cancellable/connect-to-disposing-callback 830s ok 5 /cancellable/connect-cancelled-data-is-destroyed 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 1 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 0 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 1 830s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 830s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 830s ok 7 /cancellable/connect-cancelled-to-disposing-callback 830s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 1 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 0 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 1 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 0 830s # Toggle reference callback for GCancellable (0xb13ff1b15cd0), last: 1 830s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 830s # /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 830s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 830s # /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 830s ok 11 /cancellable/resets-on-cancel-callback-hangs 830s ok 12 /cancellable/poll-fd 830s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 830s ok 13 /cancellable/poll-fd-cancelled 830s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 830s ok 14 /cancellable/poll-fd-cancelled-threaded 830s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 830s ok 15 /cancellable/cancel-reset-races 830s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 830s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 830s # End of cancellable tests 830s # Start of cancellable-source tests 830s # /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) 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 831s ok 17 /cancellable-source/threaded-dispose 831s # slow test /cancellable-source/threaded-dispose executed in 0.69 secs 831s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 831s ok 18 /cancellable-source/can-be-fired-multiple-times 831s # End of cancellable-source tests 831s ok - glib/cancellable.test 831s # Running test: glib/bookmarkfile.test 831s TAP version 14 831s # random seed: R02Sbe543d4501a8c5facdffe8a7e37e2d98 831s 1..96 831s # Start of bookmarks tests 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/load-from-data-dirs/.dirs/runtime 831s ok 1 /bookmarks/load-from-data-dirs 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/to-file/.dirs/runtime 831s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_UYQV52/bookmarkfile-test-S6RV52.xbel 831s # Roundtrip from a valid bookmark file 831s ok 2 /bookmarks/to-file 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/move-item/.dirs/runtime 831s ok 3 /bookmarks/move-item 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/corner-cases/.dirs/runtime 831s ok 4 /bookmarks/corner-cases 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/misc/.dirs/runtime 831s ok 5 /bookmarks/misc 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/deprecated/.dirs/runtime 831s ok 6 /bookmarks/deprecated 831s # Start of parse tests 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-31.xbel/.dirs/runtime 831s ok 7 /bookmarks/parse/fail-31.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-23.xbel/.dirs/runtime 831s ok 8 /bookmarks/parse/fail-23.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-36.xbel/.dirs/runtime 831s ok 9 /bookmarks/parse/fail-36.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-22.xbel/.dirs/runtime 831s ok 10 /bookmarks/parse/fail-22.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-15.xbel/.dirs/runtime 831s ok 11 /bookmarks/parse/fail-15.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-30.xbel/.dirs/runtime 831s ok 12 /bookmarks/parse/fail-30.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-13.xbel/.dirs/runtime 831s ok 13 /bookmarks/parse/fail-13.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-09.xbel/.dirs/runtime 831s ok 14 /bookmarks/parse/fail-09.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-39.xbel/.dirs/runtime 831s ok 15 /bookmarks/parse/fail-39.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-05.xbel/.dirs/runtime 831s ok 16 /bookmarks/parse/fail-05.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-28.xbel/.dirs/runtime 831s ok 17 /bookmarks/parse/fail-28.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-03.xbel/.dirs/runtime 831s ok 18 /bookmarks/parse/fail-03.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-21.xbel/.dirs/runtime 831s ok 19 /bookmarks/parse/fail-21.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-24.xbel/.dirs/runtime 831s ok 20 /bookmarks/parse/fail-24.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-08.xbel/.dirs/runtime 831s ok 21 /bookmarks/parse/fail-08.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-01.xbel/.dirs/runtime 831s ok 22 /bookmarks/parse/valid-01.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-38.xbel/.dirs/runtime 831s ok 23 /bookmarks/parse/fail-38.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-07.xbel/.dirs/runtime 831s ok 24 /bookmarks/parse/fail-07.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-04.xbel/.dirs/runtime 831s ok 25 /bookmarks/parse/fail-04.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-32.xbel/.dirs/runtime 831s ok 26 /bookmarks/parse/fail-32.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-20.xbel/.dirs/runtime 831s ok 27 /bookmarks/parse/fail-20.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-03.xbel/.dirs/runtime 831s ok 28 /bookmarks/parse/valid-03.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-37.xbel/.dirs/runtime 831s ok 29 /bookmarks/parse/fail-37.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-41.xbel/.dirs/runtime 831s ok 30 /bookmarks/parse/fail-41.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/valid-02.xbel/.dirs/runtime 831s ok 31 /bookmarks/parse/valid-02.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-40.xbel/.dirs/runtime 831s ok 32 /bookmarks/parse/fail-40.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-27.xbel/.dirs/runtime 831s ok 33 /bookmarks/parse/fail-27.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-25.xbel/.dirs/runtime 831s ok 34 /bookmarks/parse/fail-25.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-19.xbel/.dirs/runtime 831s ok 35 /bookmarks/parse/fail-19.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-06.xbel/.dirs/runtime 831s ok 36 /bookmarks/parse/fail-06.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-42.xbel/.dirs/runtime 831s ok 37 /bookmarks/parse/fail-42.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-01.xbel/.dirs/runtime 831s ok 38 /bookmarks/parse/fail-01.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-11.xbel/.dirs/runtime 831s ok 39 /bookmarks/parse/fail-11.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-17.xbel/.dirs/runtime 831s ok 40 /bookmarks/parse/fail-17.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-35.xbel/.dirs/runtime 831s ok 41 /bookmarks/parse/fail-35.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-12.xbel/.dirs/runtime 831s ok 42 /bookmarks/parse/fail-12.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-33.xbel/.dirs/runtime 831s ok 43 /bookmarks/parse/fail-33.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-10.xbel/.dirs/runtime 831s ok 44 /bookmarks/parse/fail-10.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-29.xbel/.dirs/runtime 831s ok 45 /bookmarks/parse/fail-29.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-18.xbel/.dirs/runtime 831s ok 46 /bookmarks/parse/fail-18.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-02.xbel/.dirs/runtime 831s ok 47 /bookmarks/parse/fail-02.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-14.xbel/.dirs/runtime 831s ok 48 /bookmarks/parse/fail-14.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-26.xbel/.dirs/runtime 831s ok 49 /bookmarks/parse/fail-26.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-16.xbel/.dirs/runtime 831s ok 50 /bookmarks/parse/fail-16.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/parse/fail-34.xbel/.dirs/runtime 831s ok 51 /bookmarks/parse/fail-34.xbel 831s # End of parse tests 831s # Start of copy tests 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-31.xbel/.dirs/runtime 831s ok 52 /bookmarks/copy/fail-31.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-23.xbel/.dirs/runtime 831s ok 53 /bookmarks/copy/fail-23.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-36.xbel/.dirs/runtime 831s ok 54 /bookmarks/copy/fail-36.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-22.xbel/.dirs/runtime 831s ok 55 /bookmarks/copy/fail-22.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-15.xbel/.dirs/runtime 831s ok 56 /bookmarks/copy/fail-15.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-30.xbel/.dirs/runtime 831s ok 57 /bookmarks/copy/fail-30.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-13.xbel/.dirs/runtime 831s ok 58 /bookmarks/copy/fail-13.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-09.xbel/.dirs/runtime 831s ok 59 /bookmarks/copy/fail-09.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-39.xbel/.dirs/runtime 831s ok 60 /bookmarks/copy/fail-39.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-05.xbel/.dirs/runtime 831s ok 61 /bookmarks/copy/fail-05.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-28.xbel/.dirs/runtime 831s ok 62 /bookmarks/copy/fail-28.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-03.xbel/.dirs/runtime 831s ok 63 /bookmarks/copy/fail-03.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-21.xbel/.dirs/runtime 831s ok 64 /bookmarks/copy/fail-21.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-24.xbel/.dirs/runtime 831s ok 65 /bookmarks/copy/fail-24.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-08.xbel/.dirs/runtime 831s ok 66 /bookmarks/copy/fail-08.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-01.xbel/.dirs/runtime 831s ok 67 /bookmarks/copy/valid-01.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-38.xbel/.dirs/runtime 831s ok 68 /bookmarks/copy/fail-38.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-07.xbel/.dirs/runtime 831s ok 69 /bookmarks/copy/fail-07.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-04.xbel/.dirs/runtime 831s ok 70 /bookmarks/copy/fail-04.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-32.xbel/.dirs/runtime 831s ok 71 /bookmarks/copy/fail-32.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-20.xbel/.dirs/runtime 831s ok 72 /bookmarks/copy/fail-20.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-03.xbel/.dirs/runtime 831s ok 73 /bookmarks/copy/valid-03.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-37.xbel/.dirs/runtime 831s ok 74 /bookmarks/copy/fail-37.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-41.xbel/.dirs/runtime 831s ok 75 /bookmarks/copy/fail-41.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/valid-02.xbel/.dirs/runtime 831s ok 76 /bookmarks/copy/valid-02.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-40.xbel/.dirs/runtime 831s ok 77 /bookmarks/copy/fail-40.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-27.xbel/.dirs/runtime 831s ok 78 /bookmarks/copy/fail-27.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-25.xbel/.dirs/runtime 831s ok 79 /bookmarks/copy/fail-25.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-19.xbel/.dirs/runtime 831s ok 80 /bookmarks/copy/fail-19.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-06.xbel/.dirs/runtime 831s ok 81 /bookmarks/copy/fail-06.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-42.xbel/.dirs/runtime 831s ok 82 /bookmarks/copy/fail-42.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-01.xbel/.dirs/runtime 831s ok 83 /bookmarks/copy/fail-01.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-11.xbel/.dirs/runtime 831s ok 84 /bookmarks/copy/fail-11.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-17.xbel/.dirs/runtime 831s ok 85 /bookmarks/copy/fail-17.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-35.xbel/.dirs/runtime 831s ok 86 /bookmarks/copy/fail-35.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-12.xbel/.dirs/runtime 831s ok 87 /bookmarks/copy/fail-12.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-33.xbel/.dirs/runtime 831s ok 88 /bookmarks/copy/fail-33.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-10.xbel/.dirs/runtime 831s ok 89 /bookmarks/copy/fail-10.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-29.xbel/.dirs/runtime 831s ok 90 /bookmarks/copy/fail-29.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-18.xbel/.dirs/runtime 831s ok 91 /bookmarks/copy/fail-18.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-02.xbel/.dirs/runtime 831s ok 92 /bookmarks/copy/fail-02.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-14.xbel/.dirs/runtime 831s ok 93 /bookmarks/copy/fail-14.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-26.xbel/.dirs/runtime 831s ok 94 /bookmarks/copy/fail-26.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-16.xbel/.dirs/runtime 831s ok 95 /bookmarks/copy/fail-16.xbel 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UYQV52/bookmarks/copy/fail-34.xbel/.dirs/runtime 831s ok 96 /bookmarks/copy/fail-34.xbel 831s # End of copy tests 831s # End of bookmarks tests 831s TAP version 14 831s # random seed: R02S70add247fbc96a6d3b44ae28c5a3d27d 831s 1..2 831s # Start of gdbus tests 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_DVKT52/gdbus/close-pending/.dirs/runtime 831s ok - glib/bookmarkfile.test 831s # Running test: glib/gdbus-close-pending.test 831s ok 1 /gdbus/close-pending 831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/home 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/cache 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/system-config2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/config 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/system-data2 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/data 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/state 831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_DVKT52/gdbus/unref-pending/.dirs/runtime 832s ok 2 /gdbus/unref-pending 832s # End of gdbus tests 832s ok - glib/gdbus-close-pending.test 832s # Running test: glib/testing.test 832s ok - glib/testing.test 832s # Running test: glib/collate.test 832s TAP version 14 832s # random seed: R02See91d66105665857b6b812f94475ed5d 832s 1..1 832s # Start of assert tests 832s ok 1 /assert/finalize_object 832s # Start of finalize_object tests 832s # Start of subprocess tests 832s # End of subprocess tests 832s # End of finalize_object tests 832s # End of assert tests 832s TAP version 14 832s # random seed: R02Sdcd25158df71d0611346b273e8366636 832s 1..9 832s # Start of unicode tests 832s # Start of collate tests 832s ok 1 /unicode/collate/0 832s ok 2 /unicode/collate/1 832s ok 3 /unicode/collate/2 832s # End of collate tests 832s # Start of collate-key tests 832s ok 4 /unicode/collate-key/0 832s ok 5 /unicode/collate-key/1 832s ok 6 /unicode/collate-key/2 832s # End of collate-key tests 832s # Start of collate-filename tests 832s ok 7 /unicode/collate-filename/0 832s ok 8 /unicode/collate-filename/1 832s ok 9 /unicode/collate-filename/2 832s # End of collate-filename tests 832s # End of unicode tests 832s ok - glib/collate.test 832s # Running test: glib/type-flags.test 832s TAP version 14 832s # random seed: R02Se145edc6866ef2838a1a0859e4ea8763 832s 1..4 832s # Start of type tests 832s # Start of flags tests 832s ok 1 /type/flags/interface 832s ok 2 /type/flags/final 832s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 832s ok 3 /type/flags/deprecated 832s # Start of final tests 832s ok 4 /type/flags/final/instance-check 832s # End of final tests 832s # End of flags tests 832s # End of type tests 832s ok - glib/type-flags.test 832s # Running test: glib/option-argv0.test 832s TAP version 14 832s # random seed: R02S6a575ef0913afda96301640478dead53 832s 1..1 832s # Start of option tests 832s ok 1 /option/argv0 832s # End of option tests 832s ok - glib/option-argv0.test 832s # Running test: glib/g-file-info.test 832s TAP version 14 832s # random seed: R02S0ffeb8b83beacbe667b361b9e0888e16 832s 1..6 832s # Start of g-file-info tests 832s ok 1 /g-file-info/test_g_file_info 832s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 832s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 832s ok 2 /g-file-info/xattrs 832s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 832s ok 3 /g-file-info/set-modified-date-time-precision 832s # Start of test_g_file_info tests 832s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 832s ok 4 /g-file-info/test_g_file_info/modification-time 832s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 832s ok 5 /g-file-info/test_g_file_info/access-time 832s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 832s ok 6 /g-file-info/test_g_file_info/creation-time 832s # End of test_g_file_info tests 832s # End of g-file-info tests 832s ok - glib/g-file-info.test 832s # Running test: glib/overflow.test 832s TAP version 14 832s # random seed: R02S821b69b39fb77679fda756792574bb15 832s 1..6 832s # Start of glib tests 832s # Start of checked-math tests 832s ok 1 /glib/checked-math/guint-add 832s ok 2 /glib/checked-math/guint-mul 832s ok 3 /glib/checked-math/guint64-add 832s ok 4 /glib/checked-math/guint64-mul 832s ok 5 /glib/checked-math/gsize-add 832s ok 6 /glib/checked-math/gsize-mul 832s # End of checked-math tests 832s # End of glib tests 832s ok - glib/overflow.test 832s # Running test: glib/rwlock.test 832s TAP version 14 832s # random seed: R02Sfa918eb6937aff1a87124d5a56f17c76 832s 1..8 832s # Start of thread tests 832s ok 1 /thread/rwlock1 832s ok 2 /thread/rwlock2 832s ok 3 /thread/rwlock3 832s ok 4 /thread/rwlock4 832s ok 5 /thread/rwlock5 832s ok 6 /thread/rwlock6 833s # Executing: glib/rwlock.test 837s ok 7 /thread/rwlock7 837s # slow test /thread/rwlock7 executed in 5.55 secs 837s ok - glib/rwlock.test 837s ok 8 /thread/rwlock8 837s # End of thread tests 837s # Running test: glib/signals.test 837s TAP version 14 837s # random seed: R02S096281126771708ad85680beaab9aef4 837s 1..31 837s # Start of gobject tests 837s # Start of signals tests 837s ok 1 /gobject/signals/all-types 837s ok 2 /gobject/signals/variant 837s ok 3 /gobject/signals/destroy-target-object 837s ok 4 /gobject/signals/generic-marshaller-1 837s ok 5 /gobject/signals/generic-marshaller-2 837s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 837s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 837s ok 8 /gobject/signals/generic-marshaller-int-return 837s ok 9 /gobject/signals/generic-marshaller-uint-return 837s ok 10 /gobject/signals/generic-marshaller-interface-return 837s ok 11 /gobject/signals/custom-marshaller 837s ok 12 /gobject/signals/connect 837s ok 13 /gobject/signals/emission-hook 837s ok 14 /gobject/signals/emitv 837s ok 15 /gobject/signals/accumulator 837s # Signal: accumulator-class-first 837s # Signal: accumulator-class-last 837s # Signal: accumulator-class-cleanup 837s # Signal: accumulator-class-first-last 837s # Signal: accumulator-class-first-last-cleanup 837s # Signal: accumulator-class-last-cleanup 837s ok 16 /gobject/signals/accumulator-class 837s ok 17 /gobject/signals/introspection 837s ok 18 /gobject/signals/block-handler 837s ok 19 /gobject/signals/stop-emission 837s ok 20 /gobject/signals/invocation-hint 837s ok 21 /gobject/signals/test-disconnection-wrong-object 837s ok 22 /gobject/signals/clear-signal-handler 837s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 837s ok 23 /gobject/signals/lookup 837s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 837s ok 24 /gobject/signals/parse-name 837s ok 25 /gobject/signals/is-valid-name 837s ok 26 /gobject/signals/weak-ref-disconnect 837s # Start of lookup tests 837s ok - glib/signals.test 837s # Running test: glib/atomic-c-89.test 837s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 837s ok 27 /gobject/signals/lookup/invalid 837s # End of lookup tests 837s # Start of parse-name tests 837s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 837s # Parser input: 837s # Parser input: 7zip 837s # Parser input: invalid:signal 837s # Parser input: simple-detailed:: 837s # Parser input: simple-detailed: 837s # Parser input: : 837s # Parser input: :: 837s # Parser input: :valid-detail 837s # Parser input: ::valid-detail 837s ok 28 /gobject/signals/parse-name/invalid 837s # End of parse-name tests 837s # Start of invalid-name tests 837s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 837s ok 29 /gobject/signals/invalid-name/colon 837s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 837s ok 30 /gobject/signals/invalid-name/first-char 837s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 837s ok 31 /gobject/signals/invalid-name/empty 837s # End of invalid-name tests 837s # End of signals tests 837s # End of gobject tests 837s TAP version 14 837s # random seed: R02S1424af44610adb4f79e1d8d2196ff48b 837s 1..2 837s # Start of atomic tests 837s ok 1 /atomic/types 837s ok 2 /atomic/threaded 837s # End of atomic tests 837s ok - glib/atomic-c-89.test 837s # Running test: glib/fileutils.test 837s TAP version 14 837s # random seed: R02Sbc8ba73e81cf6f02514008f18bfdfd6f 837s 1..27 837s # Start of fileutils tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/paths/.dirs/runtime 837s ok 1 /fileutils/paths 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/build-path/.dirs/runtime 837s ok 2 /fileutils/build-path 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/build-pathv/.dirs/runtime 837s ok 3 /fileutils/build-pathv 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/build-filename/.dirs/runtime 837s ok 4 /fileutils/build-filename 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/build-filenamev/.dirs/runtime 837s ok 5 /fileutils/build-filenamev 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents/.dirs/runtime 837s # We do not have CAP_DAC_OVERRIDE or equivalent 837s # Checking g_mkdir_with_parents() in subdir ./hum/ 837s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 837s ok 6 /fileutils/mkdir-with-parents 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/mkdir-with-parents-permission/.dirs/runtime 837s # We do not have CAP_DAC_OVERRIDE or equivalent 837s ok 7 /fileutils/mkdir-with-parents-permission 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/format-size-for-display/.dirs/runtime 837s ok 8 /fileutils/format-size-for-display 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/errors/.dirs/runtime 837s ok 9 /fileutils/errors 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/basename/.dirs/runtime 837s ok 10 /fileutils/basename 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/get-basename/.dirs/runtime 837s ok 11 /fileutils/get-basename 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/dirname/.dirs/runtime 837s ok 12 /fileutils/dirname 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/dir-make-tmp/.dirs/runtime 837s ok 13 /fileutils/dir-make-tmp 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/file-open-tmp/.dirs/runtime 837s ok 14 /fileutils/file-open-tmp 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/file-test/.dirs/runtime 837s ok 15 /fileutils/file-test 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/mkstemp/.dirs/runtime 837s ok 16 /fileutils/mkstemp 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/mkdtemp/.dirs/runtime 837s ok 17 /fileutils/mkdtemp 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/get-contents/.dirs/runtime 837s ok 18 /fileutils/get-contents 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/get-contents-large-file/.dirs/runtime 837s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/set-contents/.dirs/runtime 837s ok 20 /fileutils/set-contents 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/.dirs/runtime 837s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 837s # Flags 0 and test 0 837s # Flags 0 and test 1 837s # Flags 0 and test 2 837s # Flags 0 and test 3 837s # Flags 0 and test 4 837s # Flags 0 and test 5 837s # Flags 1 and test 0 837s # Flags 1 and test 1 837s # Flags 1 and test 2 837s # Flags 1 and test 3 837s # Flags 1 and test 4 837s # Flags 1 and test 5 837s # Flags 2 and test 0 837s # Flags 2 and test 1 837s # Flags 2 and test 2 837s # Flags 2 and test 3 837s # Flags 2 and test 4 837s # Flags 2 and test 5 837s # Flags 3 and test 0 837s # Flags 3 and test 1 837s # Flags 3 and test 2 837s # Flags 3 and test 3 837s # Flags 3 and test 4 837s # Flags 3 and test 5 837s # Flags 4 and test 0 837s # Flags 4 and test 1 837s # Flags 4 and test 2 837s # Flags 4 and test 3 837s # Flags 4 and test 4 837s # Flags 4 and test 5 837s # Flags 5 and test 0 837s # Flags 5 and test 1 837s # Flags 5 and test 2 837s # Flags 5 and test 3 837s # Flags 5 and test 4 837s # Flags 5 and test 5 837s # Flags 6 and test 0 837s # Flags 6 and test 1 837s # Flags 6 and test 2 837s # Flags 6 and test 3 838s # Flags 6 and test 4 838s # Flags 6 and test 5 838s ok 21 /fileutils/set-contents-full 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/read-link/.dirs/runtime 838s ok 22 /fileutils/read-link 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/stdio-wrappers/.dirs/runtime 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s ok 23 /fileutils/stdio-wrappers 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/fopen-modes/.dirs/runtime 838s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 838s # Testing fopen() mode 'w' 838s # Testing fopen() mode 'r' 838s # Testing fopen() mode 'a' 838s # Testing fopen() mode 'w+' 838s # Testing fopen() mode 'r+' 838s # Testing fopen() mode 'a+' 838s # Testing fopen() mode 'wb' 838s # Testing fopen() mode 'rb' 838s # Testing fopen() mode 'ab' 838s # Testing fopen() mode 'w+b' 838s # Testing fopen() mode 'r+b' 838s # Testing fopen() mode 'a+b' 838s # Testing fopen() mode 'wb+' 838s # Testing fopen() mode 'rb+' 838s # Testing fopen() mode 'ab+' 838s ok 24 /fileutils/fopen-modes 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/clear-fd/.dirs/runtime 838s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 838s # Will be closed by autocleanup: 3, -42 838s # Testing error handling 838s ok 25 /fileutils/clear-fd 838s # Start of set-contents-full tests 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-file/.dirs/runtime 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 838s ok 26 /fileutils/set-contents-full/read-only-file 838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/home 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/cache 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/config 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/data 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/state 838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NCKB62/fileutils/set-contents-full/read-only-directory/.dirs/runtime 838s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 838s # Flags 0 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 1 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 2 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 3 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 4 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 5 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s # Flags 6 838s # We do not have CAP_DAC_OVERRIDE or equivalent 838s ok 27 /fileutils/set-contents-full/read-only-directory 838s # End of set-contents-full tests 838s # Start of clear-fd tests 838s # Start of subprocess tests 838s # End of subprocess tests 838s # End of clear-fd tests 838s # End of fileutils tests 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-KYI252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-W6P252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-Y0N252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-X4R252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-68G252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-7DP252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62/glib-file-set-contents-full-rodir-RFL252: Directory not empty 838s Unable to clean up temporary directory /tmp/test_fileutils_NCKB62: Directory not empty 838s ok - glib/fileutils.test 838s # Running test: glib/simple-async-result.test 838s ok - glib/simple-async-result.test 838s TAP version 14 838s # random seed: R02S2b4f7ef3bb208250a2a7aecafc35370b 838s 1..2 838s # Start of gio tests 838s # Start of simple-async-result tests 838s ok 1 /gio/simple-async-result/test 838s # GLib-GIO-DEBUG: GTask 0xba91801d7040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 838s ok 2 /gio/simple-async-result/valid 838s # End of simple-async-result tests 838s # End of gio tests 838s # Running test: glib/sequence.test 838s TAP version 14 838s # random seed: R02Sd1f52fd7ca1a3a0e3bf833ffa5fcd9e3 838s 1..16 838s # Start of sequence tests 838s ok 1 /sequence/out-of-range-jump 838s ok 2 /sequence/iter-move 838s ok 3 /sequence/insert-sorted-non-pointer 838s ok 4 /sequence/stable-sort 838s ok 5 /sequence/is_empty 838s # Start of random tests 838s # Executing: glib/sequence.test 838s ok 6 /sequence/random/seed:825541564 838s # slow test /sequence/random/seed:825541564 executed in 0.54 secs 839s ok 7 /sequence/random/seed:801678400 839s # slow test /sequence/random/seed:801678400 executed in 0.51 secs 839s ok 8 /sequence/random/seed:1477639090 839s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 840s ok 9 /sequence/random/seed:3369132895 840s ok 10 /sequence/random/seed:1192944867 840s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 841s ok 11 /sequence/random/seed:770458294 841s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 841s ok 12 /sequence/random/seed:1099575817 841s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 842s ok 13 /sequence/random/seed:590523467 842s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 842s ok 14 /sequence/random/seed:3583571454 842s # slow test /sequence/random/seed:3583571454 executed in 0.54 secs 843s # Executing: glib/sequence.test 843s ok 15 /sequence/random/seed:579241222 843s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 843s ok 16 /sequence/random/seed:387913963 843s # slow test /sequence/random/seed:387913963 executed in 0.53 secs 843s # End of random tests 843s # End of sequence tests 843s ok - glib/sequence.test 843s # Running test: glib/642026.test 843s TAP version 14 843s # random seed: R02S39701deb4ae43a41d040fb3e552ff38c 843s 1..1 843s # Start of glib tests 843s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 844s ok 1 /glib/642026 844s # End of glib tests 844s ok - glib/642026.test 844s # Running test: glib/completion.test 844s TAP version 14 844s # random seed: R02Sd5facac39af56a114e5ef65da5a129ed 844s 1..1 844s # Start of completion tests 844s ok 1 /completion/test-completion 844s # End of completion tests 844s ok - glib/completion.test 844s # Running test: glib/properties-introspection.test 844s ok - glib/properties-introspection.test 844s # Running test: glib/srvtarget.test 844s TAP version 14 844s # random seed: R02S2cb26bb79f8b4a7490770b86a7248c22 844s 1..2 844s # Start of properties tests 844s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 844s ok 1 /properties/introspection 844s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 844s ok 2 /properties/collision 844s # End of properties tests 844s TAP version 14 844s # random seed: R02S37e259571e9e0f61347b901e09c10647 844s 1..1 844s # Start of srvtarget tests 844s ok 1 /srvtarget/srv-target-ordering 844s # End of srvtarget tests 844s ok - glib/srvtarget.test 844s # Running test: glib/sandbox.test 844s TAP version 14 844s # random seed: R02S1bf57cfbb2e06e48a6fb49ae83e3bc49 844s 1..4 844s # Start of sandbox tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/state 844s ok - glib/sandbox.test 844s # Running test: glib/defaultvalue.test 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JO1Q52/sandbox/none/.dirs/runtime 844s ok 1 /sandbox/none 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JO1Q52/sandbox/snap/.dirs/runtime 844s # Created snap.yaml in /tmp/test_sandbox_JO1Q52/snap/current/meta/snap.yaml 844s ok 2 /sandbox/snap 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JO1Q52/sandbox/classic-snap/.dirs/runtime 844s # Created snap.yaml in /tmp/test_sandbox_JO1Q52/snap/current/meta/snap.yaml 844s ok 3 /sandbox/classic-snap 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/runtime 844s # Creating .flatpak-info in /tmp/test_sandbox_JO1Q52/sandbox/flatpak/.dirs/runtime/.flatpak-info 844s ok 4 /sandbox/flatpak 844s # End of sandbox tests 844s TAP version 14 844s # random seed: R02S6bf40432a0ad800591eb798798dbb492 844s 1..84 844s # Start of Default Values tests 844s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 844s ok 2 /Default Values/GAppLaunchContext 844s ok 3 /Default Values/GApplicationCommandLine 844s # skipping GApplication:is-remote 844s ok 4 /Default Values/GApplication 844s ok 5 /Default Values/GBinding # SKIP mandatory construct params 844s ok 6 /Default Values/GBindingGroup 844s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 844s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 844s ok 9 /Default Values/GBytesIcon 844s ok 10 /Default Values/GCancellable 844s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 844s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 844s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 844s ok 14 /Default Values/GCredentials 844s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 844s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 844s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 844s ok 18 /Default Values/GDBusAuthObserver 844s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 844s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 844s ok 21 /Default Values/GDBusMessage 844s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 844s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 844s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 844s ok 25 /Default Values/GDBusObjectProxy 844s ok 26 /Default Values/GDBusObjectSkeleton 844s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 844s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 844s ok 29 /Default Values/GEmblem 844s ok 30 /Default Values/GEmblemedIcon 844s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 844s ok 32 /Default Values/GFileInfo 844s ok 33 /Default Values/GFileInputStream 844s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 844s ok 35 /Default Values/GFileOutputStream 844s ok 36 /Default Values/GFilenameCompleter 844s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 844s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 844s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 844s ok 40 /Default Values/GInitiallyUnowned 844s ok 41 /Default Values/GIOModule 844s ok 42 /Default Values/GListStore 844s ok 43 /Default Values/GMemoryInputStream 844s ok - glib/defaultvalue.test 844s # Running test: glib/basic-signals.test 844s ok - glib/basic-signals.test 844s # Running test: glib/io-channel.test 844s ok 44 /Default Values/GMemoryOutputStream 844s ok 45 /Default Values/GMenu 844s ok 46 /Default Values/GMenuItem 844s ok 47 /Default Values/GMountOperation 844s ok 48 /Default Values/GNativeSocketAddress 844s ok 49 /Default Values/GNetworkAddress 844s ok 50 /Default Values/GNetworkService 844s ok 51 /Default Values/GNotification 844s ok 52 /Default Values/GObject 844s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 844s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 844s # skipping GProxyAddressEnumerator:proxy-resolver 844s ok 54 /Default Values/GProxyAddressEnumerator 844s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 844s ok 56 /Default Values/GSettings # SKIP mandatory construct params 844s ok 57 /Default Values/GSignalGroup 844s ok 58 /Default Values/GSimpleAction 844s ok 59 /Default Values/GSimpleActionGroup 844s ok 60 /Default Values/GSimpleAsyncResult 844s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 844s ok 62 /Default Values/GSimplePermission 844s ok 63 /Default Values/GSimpleProxyResolver 844s # skipping GSocketClient:proxy-resolver 844s ok 64 /Default Values/GSocketClient 844s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 844s ok 66 /Default Values/GSocket # SKIP initialization failed 844s ok 67 /Default Values/GSocketListener 844s ok 68 /Default Values/GSocketService 844s ok 69 /Default Values/GSubprocess # SKIP initialization failed 844s ok 70 /Default Values/GSubprocessLauncher 844s # GLib-GIO-DEBUG: GTask 0xc6c28a51df30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 844s ok 71 /Default Values/GTask 844s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 844s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 844s ok 74 /Default Values/GTestDBus 844s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 844s ok 76 /Default Values/GThreadedSocketService 844s ok 77 /Default Values/GTlsInteraction 844s ok 78 /Default Values/GTlsPassword 844s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 844s ok 80 /Default Values/GUnixFDList 844s ok 81 /Default Values/GVfs 844s ok 82 /Default Values/GVolumeMonitor 844s ok 83 /Default Values/GZlibCompressor 844s ok 84 /Default Values/GZlibDecompressor 844s # End of Default Values tests 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s TAP version 14 844s # random seed: R02Sb7a22500801c5ee684570b9d48b2168c 844s 1..1 844s # Start of gobject tests 844s ok 1 /gobject/basic-signals 844s # End of gobject tests 844s TAP version 14 844s # random seed: R02S2e8b0565b8d826f9d8d02ee99c7b8501 844s 1..2 844s # Start of io-channel tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_WWTR52/io-channel/read-write/.dirs/runtime 844s # Line one 844s # 844s # Line two 844s # 844s # Line three 844s # 844s # /* Hello */ 844s # 844s # \x1234\x567890\x6666 844s # 844s # read 62 bytes, wrote 62 bytes 844s ok 1 /io-channel/read-write 844s # Start of read-line tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_WWTR52/io-channel/read-line/embedded-nuls/.dirs/runtime 844s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 844s ok 2 /io-channel/read-line/embedded-nuls 844s # End of read-line tests 844s # End of io-channel tests 844s ok - glib/io-channel.test 844s # Running test: glib/volumemonitor.test 844s ok - glib/volumemonitor.test 844s # Running test: glib/hash.test 844s ok - glib/hash.test 844s # Running test: glib/file-thumbnail.test 844s TAP version 14 844s # random seed: R02S34fa0a5c61e3d3bf29b81a152cbeb7e3 844s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 844s 1..3 844s # Start of volumemonitor tests 844s ok 1 /volumemonitor/connected_drives 844s ok 2 /volumemonitor/volumes 844s ok 3 /volumemonitor/mounts 844s # End of volumemonitor tests 844s TAP version 14 844s # random seed: R02S59e981b3453fd9da7061adae7b568614 844s 1..34 844s # Start of hash tests 844s ok 1 /hash/misc 844s ok 2 /hash/one 844s ok 3 /hash/honeyman 844s ok 4 /hash/direct 844s ok 5 /hash/direct2 844s ok 6 /hash/int 844s ok 7 /hash/int64 844s ok 8 /hash/double 844s ok 9 /hash/string 844s ok 10 /hash/set 844s ok 11 /hash/set-ref 844s ok 12 /hash/ref 844s ok 13 /hash/remove-all 844s ok 14 /hash/recursive-remove-all 844s ok 15 /hash/find 844s ok 16 /hash/foreach 844s ok 17 /hash/foreach-steal 844s ok 18 /hash/steal-extended 844s ok 19 /hash/steal-all-keys 844s ok 20 /hash/steal-all-values 844s ok 21 /hash/lookup-extended 844s ok 22 /hash/new-similar 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 844s ok 23 /hash/lookup-null-key 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 844s ok 24 /hash/destroy-modify 844s ok 25 /hash/consistency 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 844s ok 26 /hash/iter-replace 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 844s ok 27 /hash/set-insert-corruption 844s ok 28 /hash/set-to-strv 844s ok 29 /hash/get-keys-as-ptr-array 844s ok 30 /hash/get-values-as-ptr-array 844s ok 31 /hash/primes 844s # Start of int64 tests 844s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 844s ok 32 /hash/int64/collisions 844s # End of int64 tests 844s # Start of double tests 844s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 844s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 844s ok 33 /hash/double/collisions 844s # End of double tests 844s # Start of recursive-remove-all tests 844s # End of recursive-remove-all tests 844s # Start of steal-extended tests 844s ok 34 /hash/steal-extended/optional 844s # End of steal-extended tests 844s # End of hash tests 844s TAP version 14 844s # random seed: R02S91d541ff77eff49c36c119980ccdb053 844s 1..7 844s # Start of file-thumbnail tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/runtime 844s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 844s ok 1 /file-thumbnail/fail 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 844s ok 2 /file-thumbnail/size-priority 844s # Start of valid tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 844s ok 3 /file-thumbnail/valid/normal 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 844s ok 4 /file-thumbnail/valid/large 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 844s ok 5 /file-thumbnail/valid/x-large 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 844s ok 6 /file-thumbnail/valid/xx-large 844s # End of valid tests 844s # Start of unknown tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/runtime 844s # Created test thumbnail at /tmp/test_file-thumbnail_MQTU52/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 844s ok - glib/file-thumbnail.test 844s # Running test: glib/gdbus-subscribe.test 844s ok 7 /file-thumbnail/unknown/super-large 844s # End of unknown tests 844s # End of file-thumbnail tests 844s TAP version 14 844s # random seed: R02S3c02a72ff8ac6ddfe09433de114af82e 844s 1..24 844s # Start of gdbus tests 844s # Start of subscribe tests 844s # Start of conn tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/simple/.dirs/runtime 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 844s # Step 0: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 1 /gdbus/subscribe/conn/simple 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 844s # Step 0: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: service 2 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: service 2 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 1 844s # Signal received from service 2 :1.2 844s # Signal received from service 2 :1.2 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Signal received from service 2 :1.2 844s # Signal received from service 2 :1.2 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/match_twice/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: (any) 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: (any) 844s # Path: (any) 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 3: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 4: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 3 /gdbus/subscribe/conn/match_twice 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 844s # Step 0: adding subscription 844s # Sender: :0.this.had.better.not.exist 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /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 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: org.gtk.Test.OwnedLater 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 3: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 5: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 6: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Step 7: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 5 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 844s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 844s # Step 0: adding subscription 844s # Sender: org.freedesktop.DBus 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # String argument 0: would I lie to you? 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Waiting for signal to reach message bus 844s # Step 3: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Signal received from message bus org.freedesktop.DBus 844s # Signal received from (unused) org.freedesktop.DBus via connection 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Immediately unsubscribing 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 844s # End of conn tests 844s # Start of proxy tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/simple/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 844s # Step 0: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 9 /gdbus/subscribe/proxy/simple 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 844s # Step 0: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: service 2 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: service 2 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/match_twice/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: (any) 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: (any) 844s # Path: (any) 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 3: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 4: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 11 /gdbus/subscribe/proxy/match_twice 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 844s # Step 0: adding subscription 844s # Sender: :0.this.had.better.not.exist 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /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 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: org.gtk.Test.OwnedLater 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 3: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 5: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 6: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Step 7: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 5 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 844s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 844s # Step 0: adding subscription 844s # Sender: org.freedesktop.DBus 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # String argument 0: would I lie to you? 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Waiting for signal to reach message bus 844s # Step 3: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Signal received from message bus org.freedesktop.DBus 844s # Signal received from (unused) org.freedesktop.DBus via proxy 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 844s # End of proxy tests 844s # Start of parallel tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/simple/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 844s # Step 0: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 17 /gdbus/subscribe/parallel/simple 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 844s # Step 0: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: service 2 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: service 2 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 1 844s # Signal received from service 2 :1.2 844s # Signal received from service 2 :1.2 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Signal received from service 2 :1.2 844s # Signal received from service 2 :1.2 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/match_twice/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: adding subscription 844s # Sender: (any) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: (any) 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: (any) 844s # Path: (any) 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Cannot subscribe via proxy: no bus name 844s # Waiting for AddMatch to be processed 844s # Step 3: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 4: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 4 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 844s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 19 /gdbus/subscribe/parallel/match_twice 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 844s # Step 0: adding subscription 844s # Sender: service :1.1 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 3: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 3 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 844s # Step 0: adding subscription 844s # Sender: :0.this.had.better.not.exist 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /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 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 2: adding subscription 844s # Sender: org.gtk.Test.OwnedLater 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 3: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 4: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 5: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Step 6: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Step 7: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 5 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 5 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via connection 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 7 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 844s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 844s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 844s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 844s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 844s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 844s # Step 0: adding subscription 844s # Sender: org.freedesktop.DBus 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 1: emitting signal 844s # Sender: attacker 844s # Destination: (broadcast) 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # String argument 0: would I lie to you? 844s # Waiting for signal to reach message bus 844s # Step 2: emitting signal 844s # Sender: attacker 844s # Destination: subscriber :1.0 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Waiting for signal to reach message bus 844s # Step 3: claiming bus name 844s # Name: org.gtk.Test.OwnedLater 844s # Owner: service 844s # Signal received from message bus org.freedesktop.DBus 844s # Signal received from (unused) org.freedesktop.DBus via connection 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Signal received from message bus org.freedesktop.DBus 844s # Signal received from (unused) org.freedesktop.DBus via proxy 844s # Path: /org/freedesktop/DBus 844s # Interface: org.freedesktop.DBus 844s # Member: NameOwnerChanged 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 844s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 844s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_7F9U52/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 844s # subscriber is :1.0 844s # service is :1.1 844s # service 2 is :1.2 844s # attacker is :1.3 844s # Waiting for AddMatch to be processed 844s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 844s # Step 0: claiming bus name 844s # Name: org.gtk.Test.AlreadyOwned 844s # Owner: service 844s # Step 1: adding subscription 844s # Sender: org.gtk.Test.AlreadyOwned 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: (any) 844s # String argument 0: (any) 844s # Flags: 0 844s # Subscribing via connection 844s # Immediately unsubscribing 844s # Subscribing via proxy 844s # Waiting for AddMatch to be processed 844s # Step 2: emitting signal 844s # Sender: service 844s # Destination: (broadcast) 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Waiting for signal to reach message bus 844s # Signal received from service :1.1 844s # Signal received from service :1.1 via proxy 844s # Path: /org/gtk/GDBus/ExampleInterface 844s # Interface: org.gtk.GDBus.ExampleInterface 844s # Member: Foo 844s # Argument 0: (not a string) 844s # Sent in step: 2 844s # Received Finished signal from subscriber :1.0 844s # Received Finished signal from service :1.1 844s # Received Finished signal from service 2 :1.2 844s # Received Finished signal from attacker :1.3 844s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 844s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 844s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 844s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 844s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 844s # End of parallel tests 844s # End of subscribe tests 844s # End of gdbus tests 844s ok - glib/gdbus-subscribe.test 844s # Running test: glib/init.test 844s TAP version 14 844s # random seed: R02Sd3f03914b223271cbe31d4205eeb1118 844s 1..2 844s # Start of thread tests 844s # Start of deprecated tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_YXP852/thread/deprecated/init/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_YXP852/thread/deprecated/init/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_YXP852/thread/deprecated/init/.dirs/runtime 844s ok 1 /thread/deprecated/init 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_YXP852/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 844s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 844s # End of deprecated tests 844s # End of thread tests 844s ok - glib/init.test 844s # Running test: glib/repository-search-paths.test 844s TAP version 14 844s # random seed: R02S5b3d97fd77c657e61928e25b6cb62232 844s 1..4 844s # Start of repository tests 844s # Start of search-paths tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6YO852/repository/search-paths/default/.dirs/runtime 844s ok 1 /repository/search-paths/default 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6YO852/repository/search-paths/prepend/.dirs/runtime 844s ok 2 /repository/search-paths/prepend 844s # End of search-paths tests 844s # Start of library-paths tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6YO852/repository/library-paths/default/.dirs/runtime 844s ok 3 /repository/library-paths/default 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6YO852/repository/library-paths/prepend/.dirs/runtime 844s ok 4 /repository/library-paths/prepend 844s # End of library-paths tests 844s # End of repository tests 844s ok - glib/repository-search-paths.test 844s # Running test: glib/convert.test 844s TAP version 14 844s # random seed: R02Sf5b8b14fba470797ffc6b5821e1f152a 844s 1..14 844s # Start of conversion tests 844s ok 1 /conversion/no-conv 844s ok 2 /conversion/iconv-state 844s ok 3 /conversion/illegal-sequence 844s ok 4 /conversion/byte-order 844s ok 5 /conversion/unicode 844s ok 6 /conversion/filename-utf8 844s ok 7 /conversion/filename-display 844s ok 8 /conversion/convert-embedded-nul 844s # Start of locale-to-utf8 tests 844s ok 9 /conversion/locale-to-utf8/embedded-nul 844s # Start of embedded-nul tests 844s # Start of subprocess tests 844s # End of subprocess tests 844s # End of embedded-nul tests 844s # End of locale-to-utf8 tests 844s # Start of locale-from-utf8 tests 844s ok 10 /conversion/locale-from-utf8/embedded-nul 844s # Start of embedded-nul tests 844s # Start of subprocess tests 844s # End of subprocess tests 844s # End of embedded-nul tests 844s # End of locale-from-utf8 tests 844s # Start of filename-to-utf8 tests 844s ok 11 /conversion/filename-to-utf8/embedded-nul 844s # Start of embedded-nul tests 844s # Start of subprocess tests 844s # End of subprocess tests 844s # End of embedded-nul tests 844s # End of filename-to-utf8 tests 844s # Start of filename-from-utf8 tests 844s ok 12 /conversion/filename-from-utf8/embedded-nul 844s # Start of embedded-nul tests 844s # Start of subprocess tests 844s # End of subprocess tests 844s # End of embedded-nul tests 844s # End of filename-from-utf8 tests 844s # Start of filename-from-uri tests 844s ok 13 /conversion/filename-from-uri/query-is-ignored 844s ok 14 /conversion/filename-from-uri/fragment-is-ignored 844s # End of filename-from-uri tests 844s # End of conversion tests 844s ok - glib/convert.test 844s # Running test: glib/pattern.test 844s TAP version 14 844s # random seed: R02S39354de67dbf78963dbc14052c5d77da 844s 1..90 844s # Start of pattern tests 844s # Start of compile tests 844s ok 1 /pattern/compile/0 844s ok 2 /pattern/compile/1 844s ok 3 /pattern/compile/2 844s ok 4 /pattern/compile/3 844s ok 5 /pattern/compile/4 844s ok 6 /pattern/compile/5 844s ok 7 /pattern/compile/6 844s ok 8 /pattern/compile/7 844s ok 9 /pattern/compile/8 844s ok 10 /pattern/compile/9 844s ok 11 /pattern/compile/10 844s ok 12 /pattern/compile/11 844s ok 13 /pattern/compile/12 844s ok 14 /pattern/compile/13 844s # End of compile tests 844s # Start of copy tests 844s ok 15 /pattern/copy/0 844s ok 16 /pattern/copy/1 844s ok 17 /pattern/copy/2 844s ok 18 /pattern/copy/3 844s ok 19 /pattern/copy/4 844s ok 20 /pattern/copy/5 844s ok 21 /pattern/copy/6 844s ok 22 /pattern/copy/7 844s ok 23 /pattern/copy/8 844s ok 24 /pattern/copy/9 844s ok 25 /pattern/copy/10 844s ok 26 /pattern/copy/11 844s ok 27 /pattern/copy/12 844s ok 28 /pattern/copy/13 844s # End of copy tests 844s # Start of match tests 844s ok 29 /pattern/match/0 844s ok 30 /pattern/match/1 844s ok 31 /pattern/match/2 844s ok 32 /pattern/match/3 844s ok 33 /pattern/match/4 844s ok 34 /pattern/match/5 844s ok 35 /pattern/match/6 844s ok 36 /pattern/match/7 844s ok 37 /pattern/match/8 844s ok 38 /pattern/match/9 844s ok 39 /pattern/match/10 844s ok 40 /pattern/match/11 844s ok 41 /pattern/match/12 844s ok 42 /pattern/match/13 844s ok 43 /pattern/match/14 844s ok 44 /pattern/match/15 844s ok 45 /pattern/match/16 844s ok 46 /pattern/match/17 844s ok 47 /pattern/match/18 844s ok 48 /pattern/match/19 844s ok 49 /pattern/match/20 844s ok 50 /pattern/match/21 844s ok 51 /pattern/match/22 844s ok 52 /pattern/match/23 844s ok 53 /pattern/match/24 844s ok 54 /pattern/match/25 844s ok 55 /pattern/match/26 844s ok 56 /pattern/match/27 844s ok 57 /pattern/match/28 844s ok 58 /pattern/match/29 844s ok 59 /pattern/match/30 844s ok 60 /pattern/match/31 844s ok 61 /pattern/match/32 844s ok 62 /pattern/match/33 844s ok 63 /pattern/match/34 844s ok 64 /pattern/match/35 844s ok 65 /pattern/match/36 844s ok 66 /pattern/match/37 844s ok 67 /pattern/match/38 844s ok 68 /pattern/match/39 844s ok 69 /pattern/match/40 844s ok 70 /pattern/match/41 844s ok 71 /pattern/match/42 844s ok 72 /pattern/match/43 844s ok 73 /pattern/match/44 844s ok 74 /pattern/match/45 844s ok 75 /pattern/match/46 844s ok 76 /pattern/match/47 844s ok 77 /pattern/match/48 844s ok 78 /pattern/match/49 844s ok 79 /pattern/match/50 844s # End of match tests 844s # Start of equal tests 844s ok 80 /pattern/equal/0 844s ok 81 /pattern/equal/1 844s ok 82 /pattern/equal/2 844s ok 83 /pattern/equal/3 844s ok 84 /pattern/equal/4 844s ok 85 /pattern/equal/5 844s ok 86 /pattern/equal/6 844s ok 87 /pattern/equal/7 844s ok 88 /pattern/equal/8 844s ok 89 /pattern/equal/9 844s ok 90 /pattern/equal/10 844s # End of equal tests 844s # End of pattern tests 844s ok - glib/pattern.test 844s # Running test: glib/gdbus-exit-on-close.test 844s TAP version 14 844s # random seed: R02Sa1c587ed0cb925a4e08efbaf5e3be34b 844s 1..4 844s # Start of gdbus tests 844s # Start of exit-on-close tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/default/.dirs/runtime 844s ok 1 /gdbus/exit-on-close/default 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/true/.dirs/runtime 844s ok 2 /gdbus/exit-on-close/true 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/false/.dirs/runtime 845s ok 3 /gdbus/exit-on-close/false 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_G65B62/gdbus/exit-on-close/we-close/.dirs/runtime 845s ok 4 /gdbus/exit-on-close/we-close 845s # Start of default tests 845s # End of default tests 845s # Start of true tests 845s # End of true tests 845s # Start of false tests 845s # End of false tests 845s # Start of we-close tests 845s # End of we-close tests 845s # End of exit-on-close tests 845s # End of gdbus tests 845s ok - glib/gdbus-exit-on-close.test 845s # Running test: glib/glistmodel.test 845s TAP version 14 845s # random seed: R02S1f8cd73967af9fa8271b6b8001a60190 845s 1..18 845s # Start of glistmodel tests 845s # Start of store tests 845s ok 1 /glistmodel/store/properties 845s ok 2 /glistmodel/store/non-gobjects 845s ok 3 /glistmodel/store/boundaries 845s ok 4 /glistmodel/store/refcounts 845s ok 5 /glistmodel/store/sorted 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 845s ok 6 /glistmodel/store/splice-replace-middle 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 845s ok 7 /glistmodel/store/splice-replace-all 845s ok 8 /glistmodel/store/splice-noop 845s ok 9 /glistmodel/store/splice-remove-multiple 845s ok 10 /glistmodel/store/splice-add-multiple 845s ok 11 /glistmodel/store/splice-wrong-type 845s ok 12 /glistmodel/store/item-type 845s ok 13 /glistmodel/store/remove-all 845s ok 14 /glistmodel/store/sort 845s ok 15 /glistmodel/store/get-item-cache 845s ok 16 /glistmodel/store/items-changed 845s ok 17 /glistmodel/store/past-end 845s ok 18 /glistmodel/store/find 845s # End of store tests 845s # End of glistmodel tests 845s ok - glib/glistmodel.test 845s # Running test: glib/signals-refcount1.test 845s TAP version 14 845s # random seed: R02Sa2121281c45810cfaf21fdcb28344fe7 845s 1..1 845s # Start of gobject tests 845s # Start of refcount tests 845s # init 0xc07812c6add0 845s # 845s # init 0xc07812c61610 845s # 848s # Executing: glib/signals-refcount1.test 850s ok - glib/signals-refcount1.test 850s # dispose 0xc07812c6add0! 850s # 850s # dispose 0xc07812c61610! 850s # 850s ok 1 /gobject/refcount/signals 850s # slow test /gobject/refcount/signals executed in 5.00 secs 850s # End of refcount tests 850s # End of gobject tests 850s # Running test: glib/permission.test 850s ok - glib/permission.test 850s TAP version 14 850s # random seed: R02S580e200622ef0972251951dc63ddb691 850s 1..1 850s # Start of permission tests 850s ok 1 /permission/simple 850s # End of permission tests 850s # Running test: glib/value.test 850s TAP version 14 850s # random seed: R02Sb0e4a34be02c08cd865b7d32412f903d 850s 1..9 850s # Start of value tests 850s ok 1 /value/basic 850s ok 2 /value/collection 850s ok 3 /value/copying 850s ok 4 /value/enum-transformation 850s ok 5 /value/gtype 850s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 850s ok 6 /value/string 850s # Next: GObject object in GValue of GObject to GValue of GObject 850s # Next: GObject object in GValue of GObject to GValue of TestInterface 850s # Next: GObject object in GValue of GObject to GValue of TestObjectA 850s # Next: GObject object in GValue of GObject to GValue of TestObjectB 850s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 850s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 850s # Next: TestObjectA object in GValue of GObject to GValue of GObject 850s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 850s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 850s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 850s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 850s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 850s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 850s # Next: TestObjectB object in GValue of GObject to GValue of GObject 850s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 850s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 850s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 850s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 850s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 850s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 850s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 850s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 850s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 850s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 850s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 850s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 850s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 850s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 850s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 850s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 850s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 850s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 850s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 850s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 850s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 850s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 850s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 850s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 850s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 850s ok - glib/value.test 850s # Running test: glib/keyfile.test 850s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 850s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 850s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 850s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 850s ok 7 /value/transform-object 850s # Start of array tests 850s ok 8 /value/array/basic 850s ok 9 /value/array/sort-with-data 850s # End of array tests 850s # End of value tests 850s TAP version 14 850s # random seed: R02Se4a94c9bc777af38a3fc2e416d89de28 850s 1..36 850s # Start of keyfile tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/line-ends/.dirs/runtime 850s ok 1 /keyfile/line-ends 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/whitespace/.dirs/runtime 850s ok 2 /keyfile/whitespace 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/comments/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/comments/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/comments/.dirs/runtime 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 850s ok 3 /keyfile/comments 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/listing/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/listing/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/listing/.dirs/runtime 850s ok 4 /keyfile/listing 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/string/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/string/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/string/.dirs/runtime 850s ok 5 /keyfile/string 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/boolean/.dirs/runtime 850s ok 6 /keyfile/boolean 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/number/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/number/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/number/.dirs/runtime 850s ok 7 /keyfile/number 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/locale-string/.dirs/runtime 850s ok 8 /keyfile/locale-string 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/lists/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/lists/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/lists/.dirs/runtime 850s ok 9 /keyfile/lists 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/lists-set-get/.dirs/runtime 850s ok 10 /keyfile/lists-set-get 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/group-remove/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 850s ok 11 /keyfile/group-remove 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/key-remove/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 850s ok 12 /keyfile/key-remove 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/groups/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/groups/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/groups/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 850s ok 13 /keyfile/groups 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/duplicate-keys/.dirs/runtime 850s ok 14 /keyfile/duplicate-keys 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 850s ok 15 /keyfile/duplicate-groups 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/duplicate-groups2/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 850s ok 16 /keyfile/duplicate-groups2 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/group-names/.dirs/runtime 850s ok 17 /keyfile/group-names 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/key-names/.dirs/runtime 850s ok 18 /keyfile/key-names 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/reload/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/reload/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/reload/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 850s ok 19 /keyfile/reload 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/int64/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/int64/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/int64/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 850s ok 20 /keyfile/int64 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/load/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/load/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/load/.dirs/runtime 850s ok 21 /keyfile/load 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/save/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/save/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/save/.dirs/runtime 850s ok 22 /keyfile/save 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/load-fail/.dirs/runtime 850s ok 23 /keyfile/load-fail 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/non-utf8/.dirs/runtime 850s ok 24 /keyfile/non-utf8 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/page-boundary/.dirs/runtime 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 850s ok 25 /keyfile/page-boundary 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/ref/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/ref/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/ref/.dirs/runtime 850s ok 26 /keyfile/ref 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/replace-value/.dirs/runtime 850s ok 27 /keyfile/replace-value 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/list-separator/.dirs/runtime 850s ok 28 /keyfile/list-separator 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/empty-string/.dirs/runtime 850s ok 29 /keyfile/empty-string 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/limbo/.dirs/runtime 850s ok 30 /keyfile/limbo 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/utf8/.dirs/runtime 850s # Testing invalid encoding ?non-UTF-8? 850s # Testing invalid encoding ?UTF? 850s # Testing invalid encoding ?UTF-9? 850s ok 31 /keyfile/utf8 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/roundtrip/.dirs/runtime 850s ok 32 /keyfile/roundtrip 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/bytes/.dirs/runtime 850s ok 33 /keyfile/bytes 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/get-locale/.dirs/runtime 850s ok 34 /keyfile/get-locale 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/free-when-not-last-ref/.dirs/runtime 850s ok 35 /keyfile/free-when-not-last-ref 850s # Start of locale-string tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1USY52/keyfile/locale-string/multiple-loads/.dirs/runtime 850s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 850s ok 36 /keyfile/locale-string/multiple-loads 850s # End of locale-string tests 850s # End of keyfile tests 850s TAP version 14 850s # random seed: R02S8559e15d69a8ec75cd4c9eaf26cc5d39 850s 1..2 850s # Start of uuid tests 850s ok 1 /uuid/string 850s ok 2 /uuid/random 850s # End of uuid tests 850s TAP version 14 850s # random seed: R02S372c95f9eb42cea8aea21bd968e73b0c 850s # GLib-DEBUG: Current user locale: C.UTF-8 850s 1..6 850s # Start of search tests 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 850s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 850s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 850s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 850s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 850s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 850s ok 1 /search/basic 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 850s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 850s # GLib-DEBUG: 'ele' - 'élève' should match: OK 850s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 850s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 850s ok 2 /search/composed 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 850s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 850s ok 3 /search/decomposed 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 850s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 850s ok 4 /search/turkish 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 850s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 850s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 850s ok 5 /search/c_locale_unicode 850s # GLib-DEBUG: Started 850s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 850s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 850s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 850s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 850s ok 6 /search/multi_words 850s # End of search tests 850s TAP version 14 850s # random seed: R02Sc3aff240309a3162701bb79eef95c548 850s 1..4 850s # Start of gdbus tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FW6V52/gdbus/registered-errors/.dirs/runtime 850s ok 1 /gdbus/registered-errors 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FW6V52/gdbus/unregistered-errors/.dirs/runtime 850s ok 2 /gdbus/unregistered-errors 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FW6V52/gdbus/transparent-gerror/.dirs/runtime 850s ok 3 /gdbus/transparent-gerror 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FW6V52/gdbus/register-error/.dirs/runtime 850s ok 4 /gdbus/register-error 850s # End of gdbus tests 850s TAP version 14 850s # random seed: R02S44028a9dbd851373000fa8ef60756555 850s 1..2 850s # Start of gdbus tests 850s # Start of connection tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/cache 850s ok - glib/keyfile.test 850s # Running test: glib/guuid.test 850s ok - glib/guuid.test 850s # Running test: glib/search-utils.test 850s ok - glib/search-utils.test 850s # Running test: glib/gdbus-error.test 850s ok - glib/gdbus-error.test 850s # Running test: glib/gdbus-connection-slow.test 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/flush/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 1 /gdbus/connection/flush 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_29PW52/gdbus/connection/large_message/.dirs/runtime 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 850s ok 2 /gdbus/connection/large_message 850s # End of connection tests 850s # End of gdbus tests 850s ok - glib/gdbus-connection-slow.test 850s # Running test: glib/include.test 850s TAP version 14 850s # random seed: R02S53d71d6eadfb2ecf1092d9e03d490142 850s 1..1 850s # Start of include tests 850s ok 1 /include/rwlock 850s # End of include tests 850s ok - glib/include.test 850s # Running test: glib/custom-dispatch.test 850s ok - glib/custom-dispatch.test 850s TAP version 14 850s # random seed: R02S262397751cb0da8e19148c949b421832 850s 1..2 850s # Start of properties tests 850s # Start of custom-dispatch tests 850s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 850s ok 1 /properties/custom-dispatch/init 850s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 850s ok 2 /properties/custom-dispatch/set 850s # End of custom-dispatch tests 850s # End of properties tests 850s # Running test: glib/type.test 850s TAP version 14 850s # random seed: R02S6c5b725503059cbd258b5ea68bbc1cb8 850s 1..6 850s # Start of type tests 850s ok 1 /type/registration-serial 850s ok 2 /type/interface-prerequisite 850s ok 3 /type/interface-check 850s ok 4 /type/next-base 850s ok 5 /type/is-a 850s # Invalid types can?t be queried. 850s # Unclassed types can?t be queried. 850s ok 6 /type/query 850s # End of type tests 850s ok - glib/type.test 850s # Running test: glib/module-test-library.test 850s TAP version 14 850s # random seed: R02Sd3d603c0bc50e3c8160abc48cdf4e369 850s 1..3 850s # Start of module tests 850s ok 1 /module/basics 850s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 850s ok 2 /module/invalid-libtool-archive 850s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 850s ok 3 /module/local-binding 850s # End of module tests 850s ok - glib/module-test-library.test 850s # Running test: glib/accumulator.test 850s TAP version 14 850s # random seed: R02S7fe424ae4b2f0127e689e76c6b899545 850s 1..1 850s # Start of gobject tests 850s ok 1 /gobject/accumulator 850s # End of gobject tests 850s ok - glib/accumulator.test 850s # Running test: glib/gdbus-server-auth.test 850s TAP version 14 850s # random seed: R02S9fdf13e664d9679fd6f5d1847701ca7d 850s 1..9 850s # Start of gdbus tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/.dirs/runtime 850s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-OB2B62 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 850s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-OB2B62/dbus-8Wd7LaA7 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10059 850s ok 1 /gdbus/server-auth 850s # Start of server-auth tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/abstract/.dirs/runtime 850s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-ABKC62 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 850s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-ABKC62/dbus-wnLrS2nX 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 850s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 850s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10059 850s ok 2 /gdbus/server-auth/abstract 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/tcp/.dirs/runtime 850s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 850s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/.dirs/runtime 850s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-V7TC62 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 850s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-V7TC62/dbus-2LnL6D0E 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10059 850s ok 4 /gdbus/server-auth/anonymous 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/.dirs/runtime 850s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-WDDA62 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 850s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-WDDA62/dbus-3rsITlwL 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10059 850s ok 5 /gdbus/server-auth/external 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/.dirs/runtime 850s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-W8MA62 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 850s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 850s # Start of anonymous tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/anonymous/tcp/.dirs/runtime 850s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 850s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 850s # End of anonymous tests 850s # Start of external tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/external/require-same-user/.dirs/runtime 850s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-YLNA62 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 850s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6N2B62/gdbus-server-auth-YLNA62/dbus-J4dw9vKp 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10059 850s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 850s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 850s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 850s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10059,uid=1000,gid=1000 850s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10059 850s ok 8 /gdbus/server-auth/external/require-same-user 850s # End of external tests 850s # Start of sha1 tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6N2B62/gdbus/server-auth/sha1/tcp/.dirs/runtime 850s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 850s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 850s # End of sha1 tests 850s # End of server-auth tests 850s # End of gdbus tests 850s ok - glib/gdbus-server-auth.test 850s # Running test: glib/utf8-misc.test 850s TAP version 14 850s # random seed: R02Sd16b1e662c8b25af71e12f54a1f8c740 850s 1..7 850s # Start of utf8 tests 850s ok 1 /utf8/strlen 850s ok 2 /utf8/strncpy 850s ok 3 /utf8/strrchr 850s ok 4 /utf8/reverse 850s ok 5 /utf8/substring 850s ok 6 /utf8/make-valid 850s ok 7 /utf8/truncate-middle 850s # End of utf8 tests 850s ok - glib/utf8-misc.test 850s # Running test: glib/g-icon.test 850s TAP version 14 850s # random seed: R02S25edfbebcd8725c24e6fa4cce30fbe7b 850s 1..6 850s # Start of icons tests 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 850s ok 1 /icons/to-string 850s ok 2 /icons/serialize 850s ok 3 /icons/themed 850s ok 4 /icons/emblemed 850s ok 5 /icons/file 850s ok 6 /icons/bytes 850s # End of icons tests 850s ok - glib/g-icon.test 850s # Running test: glib/memchunk.test 850s TAP version 14 850s # random seed: R02Sd0a10bdfc8be31bd81484bd5e572fad0 850s 1..1 850s # Start of memchunk tests 850s ok 1 /memchunk/basic 850s # End of memchunk tests 850s ok - glib/memchunk.test 850s # Running test: glib/async-splice-output-stream.test 850s TAP version 14 850s # random seed: R02Sb964562f91d88cf1d06ea07f49f3f4f8 850s 1..5 850s # Start of async-splice tests 850s ok 1 /async-splice/copy-chunks 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 850s ok 2 /async-splice/copy-chunks-threaded-input 850s ok 3 /async-splice/copy-chunks-threaded-output 850s ok 4 /async-splice/copy-chunks-threaded 850s ok 5 /async-splice/cancelled 850s # End of async-splice tests 850s ok - glib/async-splice-output-stream.test 850s # Running test: glib/gutils-user-database.test 850s TAP version 14 850s # random seed: R02Scea062c97ea6b183edfb908ae5ba183b 850s 1..1 850s # Start of gutils tests 850s ok 1 /gutils/get_user_database_entry 850s # End of gutils tests 850s ok - glib/gutils-user-database.test 850s # Running test: glib/gdbus-address-get-session.test 850s TAP version 14 850s # random seed: R02Sede43771a542f17ee55e914078050ef4 850s 1..2 850s # Start of gdbus tests 850s ok 1 /gdbus/x11-autolaunch 850s ok 2 /gdbus/xdg-runtime 850s # End of gdbus tests 850s ok - glib/gdbus-address-get-session.test 850s # Running test: glib/thread-pool.test 850s TAP version 14 850s # random seed: R02S86d8bce3648f57999dc91609dc3822aa 850s 1..5 850s # Start of thread_pool tests 850s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 850s ok 1 /thread_pool/shared 850s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 850s ok 2 /thread_pool/exclusive 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 850s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 850s ok 3 /thread_pool/create_shared_after_exclusive 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 850s ok 4 /thread_pool/create_full 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 850s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 850s ok 5 /thread_pool/create_exclusive_after_shared 850s # End of thread_pool tests 850s ok - glib/thread-pool.test 850s # Running test: glib/callable-info.test 850s TAP version 14 850s # random seed: R02Sf9d801bcc0c39e2fb00761d905f5e545 850s 1..5 850s # Start of callable-info tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_4VY352/callable-info/sync-function/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s ok 1 /callable-info/sync-function 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_4VY352/callable-info/async-function/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s ok 2 /callable-info/async-function 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_4VY352/callable-info/is-method/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s ok 3 /callable-info/is-method 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_4VY352/callable-info/static-method/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s ok 4 /callable-info/static-method 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_4VY352/callable-info/static-vfunc/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 850s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 850s # End of callable-info tests 850s ok - glib/callable-info.test 850s # Running test: glib/signals-refcount2.test 850s TAP version 14 850s # random seed: R02Sfc9ef027096a1d9cbd683b941bf42fbd 850s 1..1 850s # Start of gobject tests 850s # Start of refcount tests 850s # init 0xc1d4c8317dd0 850s # 850s # init 0xc1d4c830e610 850s # 853s # Executing: glib/signals-refcount2.test 855s # dispose 0xc1d4c8317dd0! 855s # 855s # dispose 0xc1d4c830e610! 855s # 855s ok 1 /gobject/refcount/signals 855s # slow test /gobject/refcount/signals executed in 5.00 secs 855s # End of refcount tests 855s # End of gobject tests 855s ok - glib/signals-refcount2.test 855s # Running test: glib/charset.test 855s TAP version 14 855s # random seed: R02S476c9b82910a3fa62756bc1685b856bc 855s 1..2 855s # Start of charset tests 855s # Test 0 855s # Test 1 855s # Test 2 855s # Test 3 855s ok 1 /charset/language_names_with_category 855s ok 2 /charset/language_names_with_category_async 855s # End of charset tests 855s ok - glib/charset.test 855s # Running test: glib/gdbus-connection-loss.test 855s TAP version 14 855s # random seed: R02S0b8817212ac051e18c31ce13114310a7 855s 1..1 855s # Start of gdbus tests 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_IXC452/gdbus/connection-loss/.dirs/runtime 856s ok - glib/gdbus-connection-loss.test 856s ok 1 /gdbus/connection-loss 856s # End of gdbus tests 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s TAP version 14 856s # random seed: R02Sa930ac92042cf70dc828e065025cd8eb 856s 1..2 856s # Start of spawn tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_G1T652/spawn/basics/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_G1T652/spawn/basics/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_G1T652/spawn/basics/.dirs/runtime 856s # Running test: glib/spawn-test.test 856s ok 1 /spawn/basics 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_G1T652/spawn/stdio-overwrite/.dirs/runtime 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 856s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 856s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 856s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 856s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 856s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 856s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 856s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 856s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 856s # Fetching GSpawn result output with stdin open, stdout open, stderr open 856s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 856s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 856s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 856s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 856s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 856s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 856s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 856s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 856s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 856s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 856s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 856s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 856s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 856s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 856s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 856s # Fetching GSpawn result with stdin open, stdout open, stderr open 856s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 856s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 856s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 856s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 856s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 856s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 856s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 856s ok 2 /spawn/stdio-overwrite 856s # End of spawn tests 856s ok - glib/spawn-test.test 856s # Running test: glib/utils-c-99.test 856s TAP version 14 856s # random seed: R02Sc9a6c659ba08e883eba25d4c2f024cf5 856s 1..41 856s # Start of utils tests 856s ok 1 /utils/language-names 856s ok 2 /utils/locale-variants 856s ok 3 /utils/version 856s ok 4 /utils/appname 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 856s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 856s ok 5 /utils/prgname-thread-safety 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 856s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 856s ok 6 /utils/tmpdir 856s ok 7 /utils/basic_bits 856s ok 8 /utils/bits 856s ok 9 /utils/swap 856s ok 10 /utils/find-program 856s ok 11 /utils/find-program-for-path 856s ok 12 /utils/debug 856s ok 13 /utils/codeset 856s ok 14 /utils/codeset2 856s ok 15 /utils/console-charset 856s ok 16 /utils/gettext 856s ok 17 /utils/username 856s ok 18 /utils/realname 856s ok 19 /utils/hostname 856s ok 20 /utils/xdgdirs 856s ok 21 /utils/specialdir 856s # NAME: Ubuntu 856s ok 22 /utils/os-info 856s ok 23 /utils/clear-pointer 856s ok 24 /utils/clear-pointer-cast 856s ok 25 /utils/take-pointer 856s ok 26 /utils/clear-source 856s ok 27 /utils/misc-mem 856s # /utils/aligned-mem summary: Aligned memory allocator 856s # Alignment must not be zero 856s # Alignment must be a power of two 856s # Alignment must be a multiple of sizeof(void*) 856s ok 28 /utils/aligned-mem 856s # /utils/free-sized summary: Check that g_free_sized() works 856s ok 29 /utils/free-sized 856s ok 30 /utils/nullify 856s ok 31 /utils/atexit 856s ok 32 /utils/check-setuid 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 856s ok 33 /utils/int-limits 856s ok 34 /utils/clear-list 856s ok 35 /utils/clear-slist 856s ok 36 /utils/steal-handle-id 856s # Start of specialdir tests 856s ok 37 /utils/specialdir/desktop 856s # End of specialdir tests 856s # Start of clear-pointer tests 856s ok 38 /utils/clear-pointer/side-effects 856s # End of clear-pointer tests 856s # Start of aligned-mem tests 856s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 856s ok 39 /utils/aligned-mem/alignment 856s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 856s ok 40 /utils/aligned-mem/zeroed 856s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 856s ok 41 /utils/aligned-mem/free-sized 856s # Start of subprocess tests 856s # End of subprocess tests 856s # End of aligned-mem tests 856s # End of utils tests 856s ok - glib/utils-c-99.test 856s # Running test: glib/inet-address.test 856s TAP version 14 856s # random seed: R02Sbd6d5dbec0f110b42d8bab91800cf82e 856s 1..11 856s # Start of inet-address tests 856s ok 1 /inet-address/parse 856s ok 2 /inet-address/any 856s ok 3 /inet-address/loopback 856s ok 4 /inet-address/bytes 856s ok 5 /inet-address/property 856s # End of inet-address tests 856s # Start of socket-address tests 856s ok 6 /socket-address/basic 856s ok 7 /socket-address/to-string 856s # End of socket-address tests 856s # Start of address-mask tests 856s ok 8 /address-mask/parse 856s ok 9 /address-mask/property 856s ok 10 /address-mask/equal 856s ok 11 /address-mask/match 856s # End of address-mask tests 856s ok - glib/inet-address.test 856s # Running test: glib/enums.test 856s TAP version 14 856s # random seed: R02Sf9501aa8ae48f854d24ba5409b1e96bc 856s 1..4 856s # Start of enum tests 856s ok 1 /enum/basic 856s ok 2 /enum/define-type 856s # End of enum tests 856s # Start of flags tests 856s ok 3 /flags/basic 856s ok 4 /flags/define-type 856s # End of flags tests 856s ok - glib/enums.test 856s # Running test: glib/flags.test 856s ok - glib/flags.test 856s TAP version 14 856s # random seed: R02S8a8f9f8864169acaddd2113725178634 856s 1..1 856s # Start of gobject tests 856s # Start of flags tests 856s ok 1 /gobject/flags/validate 856s # End of flags tests 856s # End of gobject tests 856s # Running test: glib/gdbus-connection-flush.test 856s TAP version 14 856s # random seed: R02S4e02adf4b52a5e90a7df2a83e77d1d06 856s 1..2 856s # Start of gdbus tests 856s # Start of connection tests 856s # Start of flush tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/busy/.dirs/runtime 856s ok 1 /gdbus/connection/flush/busy 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_IK9X52/gdbus/connection/flush/idle/.dirs/runtime 856s ok 2 /gdbus/connection/flush/idle 856s # End of flush tests 856s # End of connection tests 856s # End of gdbus tests 856s ok - glib/gdbus-connection-flush.test 856s # Running test: glib/registered-type-info.test 856s TAP version 14 856s # random seed: R02Se8d98571199c6cb85b70203feece4700 856s 1..1 856s # Start of registered-type-info tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_YQMY52/registered-type-info/boxed/.dirs/runtime 856s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 856s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 856s # Expecting CClosure to not be boxed 856s # Expecting TypeCValue to not be boxed 856s # Expecting InitiallyUnownedClass to not be boxed 856s # Expecting BookmarkFile to be boxed 856s # Expecting Closure to be boxed 856s # Expecting Object to not be boxed 856s ok - glib/registered-type-info.test 856s ok 1 /registered-type-info/boxed 856s # End of registered-type-info tests 856s # Running test: glib/markup-escape.test 856s ok - glib/markup-escape.test 856s # Running test: glib/properties.test 856s TAP version 14 856s # random seed: R02Sf7f077ca6d059b401d607b8b0fb5ca91 856s 1..41 856s # Start of markup tests 856s ok 1 /markup/format 856s # Start of escape-text tests 856s ok 2 /markup/escape-text/0 856s ok 3 /markup/escape-text/1 856s ok 4 /markup/escape-text/2 856s ok 5 /markup/escape-text/3 856s ok 6 /markup/escape-text/4 856s ok 7 /markup/escape-text/5 856s ok 8 /markup/escape-text/6 856s ok 9 /markup/escape-text/7 856s ok 10 /markup/escape-text/8 856s ok 11 /markup/escape-text/9 856s ok 12 /markup/escape-text/10 856s ok 13 /markup/escape-text/11 856s ok 14 /markup/escape-text/12 856s ok 15 /markup/escape-text/13 856s ok 16 /markup/escape-text/14 856s ok 17 /markup/escape-text/15 856s ok 18 /markup/escape-text/16 856s ok 19 /markup/escape-text/17 856s ok 20 /markup/escape-text/18 856s ok 21 /markup/escape-text/19 856s ok 22 /markup/escape-text/20 856s ok 23 /markup/escape-text/21 856s ok 24 /markup/escape-text/22 856s # End of escape-text tests 856s # Start of escape-unichar tests 856s ok 25 /markup/escape-unichar/0 856s ok 26 /markup/escape-unichar/1 856s ok 27 /markup/escape-unichar/2 856s ok 28 /markup/escape-unichar/3 856s ok 29 /markup/escape-unichar/4 856s ok 30 /markup/escape-unichar/5 856s ok 31 /markup/escape-unichar/6 856s ok 32 /markup/escape-unichar/7 856s ok 33 /markup/escape-unichar/8 856s ok 34 /markup/escape-unichar/9 856s ok 35 /markup/escape-unichar/10 856s ok 36 /markup/escape-unichar/11 856s ok 37 /markup/escape-unichar/12 856s ok 38 /markup/escape-unichar/13 856s ok 39 /markup/escape-unichar/14 856s ok 40 /markup/escape-unichar/15 856s ok 41 /markup/escape-unichar/16 856s # End of escape-unichar tests 856s # End of markup tests 856s TAP version 14 856s # random seed: R02S502eceb408e792b72c766b4094f654a9 856s 1..14 856s # Start of properties tests 856s ok 1 /properties/install 856s ok 2 /properties/install-many 856s ok 3 /properties/notify 856s ok 4 /properties/notify-queue 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 856s ok 5 /properties/construct 856s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 856s # Test g_object_get_property with an initialized value 856s # Test g_object_get_property with an uninitialized value 856s # Test g_object_get_property with a transformable value 856s ok 6 /properties/get-property 856s ok 7 /properties/testv_with_no_properties 856s ok 8 /properties/testv_with_valid_properties 856s ok 9 /properties/testv_with_invalid_property_type 856s ok 10 /properties/testv_with_invalid_property_names 856s ok 11 /properties/testv_getv 856s ok 12 /properties/testv_notify_queue 856s # Start of notify tests 856s ok - glib/properties.test 856s # Running test: glib/actions.test 856s ok 13 /properties/notify/too-many-freezes 856s # End of notify tests 856s # Start of set-property tests 856s # Start of variant tests 856s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 856s ok 14 /properties/set-property/variant/floating 856s # End of variant tests 856s # End of set-property tests 856s # End of properties tests 856s TAP version 14 856s # random seed: R02Sed4bc2e85dbf0d14658a2595a7830c52 856s 1..13 856s # Start of actions tests 856s ok 1 /actions/basic 856s ok 2 /actions/name 856s ok 3 /actions/simplegroup 856s ok 4 /actions/stateful 856s ok 5 /actions/default-activate 856s ok 6 /actions/entries 856s ok 7 /actions/parse-detailed 856s ok 8 /actions/property 856s ok 9 /actions/no-properties 856s # Start of dbus tests 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s ok 10 /actions/dbus/export 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 11 /actions/dbus/threaded 857s # slow test /actions/dbus/threaded executed in 1.07 secs 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 12 /actions/dbus/bug679509 857s # Start of export tests 857s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 13 /actions/dbus/export/error-handling 857s # End of export tests 857s # End of dbus tests 857s # End of actions tests 857s ok - glib/actions.test 857s # Running test: glib/object.test 857s TAP version 14 857s # random seed: R02Sed45c972d3a2e757ac574c93fbc72bf9 857s 1..2 857s # Start of object tests 857s # Start of constructor tests 857s ok 1 /object/constructor/singleton 857s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 857s # End of constructor tests 857s # End of object tests 857s ok - glib/object.test 857s # Running test: glib/properties-refcount4.test 857s TAP version 14 857s # random seed: R02S690ad38e576dee513492711b0d5f9517 857s 1..1 857s # Start of gobject tests 857s # Start of refcount tests 857s ok 1 /gobject/refcount/properties-4 857s # End of refcount tests 857s # End of gobject tests 857s ok - glib/properties-refcount4.test 857s # Running test: glib/network-address.test 857s TAP version 14 857s # random seed: R02S907d9d6fb1aca984dcfe5ec670ed1630 857s 1..72 857s # Start of network-address tests 857s ok 1 /network-address/basic 857s ok 2 /network-address/scope-id 857s ok 3 /network-address/uri-scope-id 857s ok 4 /network-address/to-string 857s # Start of parse-host tests 857s ok 5 /network-address/parse-host/0 857s ok 6 /network-address/parse-host/1 857s ok 7 /network-address/parse-host/2 857s ok 8 /network-address/parse-host/3 857s ok 9 /network-address/parse-host/4 857s ok 10 /network-address/parse-host/5 857s ok 11 /network-address/parse-host/6 857s ok 12 /network-address/parse-host/7 857s ok 13 /network-address/parse-host/8 857s ok 14 /network-address/parse-host/9 857s ok 15 /network-address/parse-host/10 857s ok 16 /network-address/parse-host/11 857s ok 17 /network-address/parse-host/12 857s ok 18 /network-address/parse-host/13 857s # End of parse-host tests 857s # Start of parse-uri tests 857s ok 19 /network-address/parse-uri/0 857s ok 20 /network-address/parse-uri/1 857s ok 21 /network-address/parse-uri/2 857s ok 22 /network-address/parse-uri/3 857s ok 23 /network-address/parse-uri/4 857s ok 24 /network-address/parse-uri/5 857s ok 25 /network-address/parse-uri/6 857s ok 26 /network-address/parse-uri/7 857s ok 27 /network-address/parse-uri/8 857s ok 28 /network-address/parse-uri/9 857s # End of parse-uri tests 857s # Start of resolve-address tests 857s # Input: 192.168.1.2 857s ok 29 /network-address/resolve-address/0 857s # Input: fe80::42 857s ok 30 /network-address/resolve-address/1 857s # Input: 192.168.1.2:80 857s ok 31 /network-address/resolve-address/2 857s # Input: [fe80::42] 857s ok 32 /network-address/resolve-address/3 857s # Input: [fe80::42]:80 857s ok 33 /network-address/resolve-address/4 857s # Input: 192.168.258 857s ok 34 /network-address/resolve-address/5 857s # Input: 192.11010306 857s ok 35 /network-address/resolve-address/6 857s # Input: 3232235778 857s ok 36 /network-address/resolve-address/7 857s # Input: 0300.0250.0001.0001 857s ok 37 /network-address/resolve-address/8 857s # Input: 0xC0.0xA8.0x01.0x02 857s ok 38 /network-address/resolve-address/9 857s # Input: 0xc0.0xa8.0x01.0x02 857s ok 39 /network-address/resolve-address/10 857s # Input: 0xc0a80102 857s ok 40 /network-address/resolve-address/11 857s # End of resolve-address tests 857s # Start of loopback tests 857s ok 41 /network-address/loopback/basic 857s ok 42 /network-address/loopback/sync 857s ok 43 /network-address/loopback/async 857s # End of loopback tests 857s # Start of localhost tests 857s ok 44 /network-address/localhost/async 857s ok 45 /network-address/localhost/sync 857s # End of localhost tests 857s # Start of happy-eyeballs tests 857s ok 46 /network-address/happy-eyeballs/basic 857s ok 47 /network-address/happy-eyeballs/parallel 857s ok 48 /network-address/happy-eyeballs/slow-ipv4 857s ok 49 /network-address/happy-eyeballs/slow-ipv6 857s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 858s # Executing: glib/network-address.test 858s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 858s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 858s # /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. 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s ok 57 /network-address/happy-eyeballs/both-error 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s ok 58 /network-address/happy-eyeballs/both-error-delays-1 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 858s ok 59 /network-address/happy-eyeballs/both-error-delays-2 858s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 858s ok 60 /network-address/happy-eyeballs/both-error-delays-3 858s # End of happy-eyeballs tests 858s # End of network-address tests 858s # Start of gresolver tests 858s # Start of resolve-address tests 858s # Input: 192.168.1.2 858s ok 61 /gresolver/resolve-address/0 858s # Input: fe80::42 858s ok 62 /gresolver/resolve-address/1 858s # Input: 192.168.1.2:80 858s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 858s ok 63 /gresolver/resolve-address/2 858s # Input: [fe80::42] 858s # Error: Error resolving ?[fe80::42]?: Name or service not known 858s ok 64 /gresolver/resolve-address/3 858s # Input: [fe80::42]:80 858s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 858s ok 65 /gresolver/resolve-address/4 858s # Input: 192.168.258 858s # Error: Error resolving ?192.168.258?: Name or service not known 858s ok 66 /gresolver/resolve-address/5 859s ok - glib/network-address.test 859s # Running test: glib/reference.test 859s # Input: 192.11010306 859s # Error: Error resolving ?192.11010306?: Name or service not known 859s ok 67 /gresolver/resolve-address/6 859s # Input: 3232235778 859s # Error: Error resolving ?3232235778?: Name or service not known 859s ok 68 /gresolver/resolve-address/7 859s # Input: 0300.0250.0001.0001 859s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 859s ok 69 /gresolver/resolve-address/8 859s # Input: 0xC0.0xA8.0x01.0x02 859s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 859s ok 70 /gresolver/resolve-address/9 859s # Input: 0xc0.0xa8.0x01.0x02 859s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 859s ok 71 /gresolver/resolve-address/10 859s # Input: 0xc0a80102 859s # Error: Error resolving ?0xc0a80102?: Name or service not known 859s ok 72 /gresolver/resolve-address/11 859s # End of resolve-address tests 859s # End of gresolver tests 859s TAP version 14 859s # random seed: R02S308e858874760c9bcdf4f6442fbf0a38 859s 1..29 859s # Start of type tests 859s ok 1 /type/fundamentals 859s ok 2 /type/qdata 859s ok 3 /type/query 859s ok 4 /type/class-private 859s # End of type tests 859s # Start of object tests 859s ok 5 /object/clear 859s ok 6 /object/clear-function 859s ok 7 /object/set 859s ok 8 /object/set-function 859s ok 9 /object/value 859s ok 10 /object/initially-unowned 859s ok 11 /object/weak-pointer 859s ok 12 /object/weak-ref 859s ok - glib/reference.test 859s # Running test: glib/contexts.test 859s ok 13 /object/toggle-ref 859s ok 14 /object/qdata 859s ok 15 /object/qdata2 859s # Start of set tests 859s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 859s ok 16 /object/set/derived-type 859s # End of set tests 859s # Start of weak-pointer tests 859s ok 17 /object/weak-pointer/clear 859s ok 18 /object/weak-pointer/clear-function 859s ok 19 /object/weak-pointer/set 859s ok 20 /object/weak-pointer/set-function 859s # End of weak-pointer tests 859s # Start of weak-ref tests 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 859s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 859s ok 21 /object/weak-ref/on-dispose 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 859s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 859s ok 22 /object/weak-ref/on-run-dispose 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 859s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 859s ok 23 /object/weak-ref/on-toggle-notify 859s ok 24 /object/weak-ref/in-toggle-notify 859s ok 25 /object/weak-ref/many 859s # Start of concurrent tests 859s ok 26 /object/weak-ref/concurrent/0 859s ok 27 /object/weak-ref/concurrent/1 859s # End of concurrent tests 859s # End of weak-ref tests 859s # Start of toggle-ref tests 859s ok 28 /object/toggle-ref/ref-on-dispose 859s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 859s # End of toggle-ref tests 859s # End of object tests 859s TAP version 14 859s # random seed: R02S8d29f3c93da6881447ddd4a96c94879e 859s 1..5 859s # Start of gio tests 859s # Start of contexts tests 859s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 859s ok 1 /gio/contexts/thread-independence 859s ok 2 /gio/contexts/context-independence 859s # Start of context-specific tests 859s ok 3 /gio/contexts/context-specific/identity 859s ok 4 /gio/contexts/context-specific/emit 859s ok 5 /gio/contexts/context-specific/emit-and-unref 859s # End of context-specific tests 859s # End of contexts tests 859s # End of gio tests 859s ok - glib/contexts.test 859s # Running test: glib/string.test 859s TAP version 14 859s # random seed: R02S17fab6e08269611b784fdf6e029e79e3 859s 1..23 859s # Start of string tests 859s ok 1 /string/test-string-chunks 859s ok 2 /string/test-string-chunk-insert 859s ok 3 /string/test-string-new 859s ok 4 /string/test-string-printf 859s ok 5 /string/test-string-assign 859s ok 6 /string/test-string-append-c 859s ok 7 /string/test-string-append 859s ok 8 /string/test-string-append-vprintf 859s ok 9 /string/test-string-prepend-c 859s ok 10 /string/test-string-prepend 859s ok 11 /string/test-string-insert 859s ok 12 /string/test-string-insert-unichar 859s ok 13 /string/test-string-equal 859s ok 14 /string/test-string-truncate 859s ok 15 /string/test-string-overwrite 859s ok 16 /string/test-string-nul-handling 859s ok 17 /string/test-string-up-down 859s ok 18 /string/test-string-set-size 859s ok 19 /string/test-string-to-bytes 859s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 859s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 859s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 859s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 859s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 859s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 859s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 859s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 859s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 859s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 859s # 5: Replacing "o" with "" (limit 0) in "food for foals" 859s # -> 4 replacements, "fd fr fals" 859s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 859s # -> 3 replacements, "aaaaaaaaa" 859s # 7: Replacing "a" with "" (limit 0) in "aaa" 859s # -> 3 replacements, "" 859s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 859s # -> 1 replacements, "bba" 859s # 9: Replacing "" with "bar" (limit 0) in "foo" 859s # -> 4 replacements, "barfbarobarobar" 859s # 10: Replacing "" with "bar" (limit 1) in "foo" 859s # -> 1 replacements, "barfoo" 859s # 11: Replacing "" with "bar" (limit 2) in "foo" 859s # -> 2 replacements, "barfbaroo" 859s # 12: Replacing "" with "bar" (limit 3) in "foo" 859s # -> 3 replacements, "barfbarobaro" 859s # 13: Replacing "" with "bar" (limit 4) in "foo" 859s # -> 4 replacements, "barfbarobarobar" 859s # 14: Replacing "" with "bar" (limit 5) in "foo" 859s # -> 4 replacements, "barfbarobarobar" 859s # 15: Replacing "" with "x" (limit 0) in "" 859s # -> 1 replacements, "x" 859s # 16: Replacing "" with "" (limit 0) in "" 859s # -> 1 replacements, "" 859s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 859s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 859s ok 20 /string/test-string-replace 859s ok 21 /string/test-string-steal 859s ok 22 /string/test-string-new-take 859s # Start of test-string-new-take tests 859s ok 23 /string/test-string-new-take/null 859s # End of test-string-new-take tests 859s # End of string tests 859s ok - glib/string.test 859s # Running test: glib/gthash.test 859s TAP version 14 859s # random seed: R02S62b90dcf22b94d28ece40ace4c36acda 859s 1..1 859s # Start of gthash tests 859s ok 1 /gthash/build-retrieve 859s # End of gthash tests 859s ok - glib/gthash.test 859s # Running test: glib/macros-c-17.test 859s TAP version 14 859s # random seed: R02S2edb139220c3525dd944d5fddd4cfc41 859s 1..4 859s # Start of C tests 859s ok 1 /C/standard-17 859s # End of C tests 859s # Start of alignof tests 859s ok 2 /alignof/fallback 859s # End of alignof tests 859s # Start of assert tests 859s ok 3 /assert/static 859s # End of assert tests 859s # Start of struct tests 859s ok 4 /struct/sizeof_member 859s # End of struct tests 859s ok - glib/macros-c-17.test 859s # Running test: glib/task.test 859s TAP version 14 859s # random seed: R02S1f2d04975049a347866b54cf8209d2a3 859s 1..36 859s # Start of gtask tests 859s ok 1 /gtask/basic 859s ok 2 /gtask/error 859s ok 3 /gtask/error-literal 859s ok 4 /gtask/error-literal-from-variable 859s ok 5 /gtask/return-from-same-iteration 859s ok 6 /gtask/return-from-toplevel 859s ok 7 /gtask/return-from-anon-thread 859s ok 8 /gtask/return-from-wrong-thread 859s ok 9 /gtask/no-callback 859s ok 10 /gtask/report-error 859s ok 11 /gtask/priority 859s ok 12 /gtask/name 859s ok 13 /gtask/static-name 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 859s ok 14 /gtask/asynchronous-cancellation 859s ok 15 /gtask/check-cancellable 859s ok 16 /gtask/return-if-cancelled 859s ok 17 /gtask/run-in-thread 859s ok 18 /gtask/run-in-thread-sync 859s ok 19 /gtask/run-in-thread-priority 859s ok 20 /gtask/run-in-thread-nested 860s ok 21 /gtask/run-in-thread-overflow 860s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 860s # GLib-GIO-DEBUG: GTask 0xc330ccd77710 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 860s # GLib-GIO-DEBUG: GTask 0xc330ccd778a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 860s ok 22 /gtask/return-on-cancel 860s # GLib-GIO-DEBUG: GTask 0xc330ccd0cec0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 860s ok 23 /gtask/return-on-cancel-sync 860s # GLib-GIO-DEBUG: GTask 0xc330ccd0cfc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 860s ok 24 /gtask/return-on-cancel-atomic 860s ok 25 /gtask/return-pointer 860s ok 26 /gtask/return-value 860s ok 27 /gtask/return-prefixed-error 860s ok 28 /gtask/object-keepalive 860s ok 29 /gtask/legacy-error 860s ok 30 /gtask/finalize-without-return 860s # Start of name tests 860s ok 31 /gtask/name/macro-wrapper 860s # End of name tests 860s # Start of return tests 860s ok 32 /gtask/return/error-first 860s ok 33 /gtask/return/value-first 860s ok - glib/task.test 860s # Running test: glib/thread.test 860s ok - glib/thread.test 860s # Running test: glib/cond.test 860s # Start of in-idle tests 860s ok 34 /gtask/return/in-idle/error-first 860s ok 35 /gtask/return/in-idle/value-first 860s # End of in-idle tests 860s # End of return tests 860s # Start of attach-source tests 860s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 860s ok 36 /gtask/attach-source/set-name 860s # End of attach-source tests 860s # End of gtask tests 860s TAP version 14 860s # random seed: R02Sd11b03b03acc8c519d0be2d49ad1aef6 860s 1..7 860s # Start of thread tests 860s ok 1 /thread/thread1 860s ok 2 /thread/thread2 860s ok 3 /thread/thread3 860s ok 4 /thread/thread4 860s ok 5 /thread/thread5 860s ok 6 /thread/thread6 860s ok 7 /thread/thread7 860s # End of thread tests 860s TAP version 14 860s # random seed: R02Sf20b4f1f1c6f73b27371d1ef915f75d1 860s 1..4 860s # Start of thread tests 860s ok 1 /thread/cond1 860s ok 2 /thread/cond2 860s # Start of cond tests 861s ok 3 /thread/cond/wait-until 861s # slow test /thread/cond/wait-until executed in 1.02 secs 861s # Start of wait-until tests 861s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 862s ok 4 /thread/cond/wait-until/contended-and-interrupted 862s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 862s # End of wait-until tests 862s # End of cond tests 862s # End of thread tests 862s ok - glib/cond.test 862s # Running test: glib/gio-tool.py.test 862s TAP version 13 862s ok 1 __main__.TestGioTool.test_help 862s # gio: /usr/bin/gio 862s # tmpdir: /tmp/tmp02r0o6tw 862s # Running: ['/usr/bin/gio', '--help'] 862s # Return code: 0 862s # Output: 862s # Usage: 862s # gio COMMAND [ARGS…] 862s # 862s # Commands: 862s # help Print help 862s # version Print version 862s # cat Concatenate files to standard output 862s # copy Copy one or more files 862s # info Show information about locations 862s # launch Launch an application from a desktop file 862s # list List the contents of locations 862s # mime Get or set the handler for a mimetype 862s # mkdir Create directories 862s # monitor Monitor files and directories for changes 862s # mount Mount or unmount the locations 862s # move Move one or more files 862s # open Open files with the default application 862s # rename Rename a file 862s # remove Delete one or more files 862s # save Read from standard input and save 862s # set Set a file attribute 862s # trash Move files or directories to the trash 862s # tree Lists the contents of locations in a tree 862s # 862s # Use “gio help COMMAND†to get detailed help. 862s # Error: 862s # 862s # Running: ['/usr/bin/gio', 'help'] 862s # Return code: 0 862s # Output: 862s # Usage: 862s # gio COMMAND [ARGS…] 862s # 862s # Commands: 862s # help Print help 862s # version Print version 862s # cat Concatenate files to standard output 862s # copy Copy one or more files 862s # info Show information about locations 862s # launch Launch an application from a desktop file 862s # list List the contents of locations 862s # mime Get or set the handler for a mimetype 862s # mkdir Create directories 862s # monitor Monitor files and directories for changes 862s # mount Mount or unmount the locations 862s # move Move one or more files 862s # open Open files with the default application 862s # rename Rename a file 862s # remove Delete one or more files 862s # save Read from standard input and save 862s # set Set a file attribute 862s # trash Move files or directories to the trash 862s # tree Lists the contents of locations in a tree 862s # 862s # Use “gio help COMMAND†to get detailed help. 862s # Error: 862s ok 2 __main__.TestGioTool.test_info_non_default_attributes 862s # gio: /usr/bin/gio 862s # tmpdir: /tmp/tmphtv_jjsi 862s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmphtv_jjsi/tmpdx4qe7qy'] 862s # Return code: 0 862s # Output: 862s # uri: file:///tmp/tmphtv_jjsi/tmpdx4qe7qy 862s # local path: /tmp/tmphtv_jjsi/tmpdx4qe7qy 862s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 862s # attributes: 862s # standard::content-type: application/x-zerosize 862s # Error: 862s ok 3 __main__.TestGioTool.test_no_args 862s # gio: /usr/bin/gio 862s # tmpdir: /tmp/tmpgkn7u6bz 862s # Running: ['/usr/bin/gio'] 862s # Return code: 1 862s # Output: 862s # 862s # Error: 862s # Usage: 862s # gio COMMAND [ARGS…] 862s # 862s # Commands: 862s # help Print help 862s # version Print version 862s # cat Concatenate files to standard output 862s # copy Copy one or more files 862s # info Show information about locations 862s # launch Launch an application from a desktop file 862s # list List the contents of locations 862s # mime Get or set the handler for a mimetype 862s # mkdir Create directories 862s # monitor Monitor files and directories for changes 862s # mount Mount or unmount the locations 862s # move Move one or more files 862s # open Open files with the default application 862s # rename Rename a file 862s # remove Delete one or more files 862s # save Read from standard input and save 862s # set Set a file attribute 862s # trash Move files or directories to the trash 862s # tree Lists the contents of locations in a tree 862s # 862s # Use “gio help COMMAND†to get detailed help. 862s 1..3 862s ok - glib/gio-tool.py.test 862s # Running test: glib/signalgroup.test 862s TAP version 14 862s # random seed: R02S4c059b79c57d9e7b84b1e8f50799a900 862s 1..9 862s # Start of GObject tests 862s # Start of SignalGroup tests 862s ok 1 /GObject/SignalGroup/invalid 862s ok 2 /GObject/SignalGroup/simple 862s ok 3 /GObject/SignalGroup/changing-target 862s ok 4 /GObject/SignalGroup/blocking 862s ok 5 /GObject/SignalGroup/weak-ref-target 862s ok 6 /GObject/SignalGroup/connect-object 862s ok 7 /GObject/SignalGroup/signal-parsing 862s ok 8 /GObject/SignalGroup/properties 862s ok 9 /GObject/SignalGroup/interface 862s # Start of signal-parsing tests 862s # End of signal-parsing tests 862s # End of SignalGroup tests 862s # End of GObject tests 862s ok - glib/signalgroup.test 862s # Running test: glib/gi-compile-repository.py.test 862s TAP version 13 862s ok 1 __main__.TestGICompileRepository.test_open_failure 862s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 862s # gi-compile-repository: /usr/bin/gi-compile-repository 862s # tmpdir: /tmp/tmp9bunq5mi 862s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp9bunq5mi/invalid.typelib'] 862s # Return code: 1 862s # Output: 862s # 862s # Error: 862s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory 862s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 862s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 862s # gi-compile-repository: /usr/bin/gi-compile-repository 862s # tmpdir: /tmp/tmpcdemssu1 862s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpcdemssu1/GLib-2.typelib'] 862s # Return code: 0 862s # Output: 862s # 862s # Error: 862s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 862s # gi-compile-repository: /usr/bin/gi-compile-repository 862s # tmpdir: /tmp/tmpdvg1ncdv 862s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 862s # Return code: 1 862s # Output: 862s # 862s # Error: 862s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 862s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 862s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 862s # gi-compile-repository: /usr/bin/gi-compile-repository 862s # tmpdir: /tmp/tmpy9qqlbhp 862s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpy9qqlbhp/GObject-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 862s # Return code: 0 862s # Output: 862s # 862s # Error: 862s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 862s # gi-compile-repository: /usr/bin/gi-compile-repository 862s # tmpdir: /tmp/tmpd3k3imiy 862s # 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/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 862s # Return code: 1 862s # Output: 862s # 862s # Error: 862s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 863s # Executing: glib/gi-compile-repository.py.test 863s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 863s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 863s # gi-compile-repository: /usr/bin/gi-compile-repository 863s # tmpdir: /tmp/tmpscg6ued0 863s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpscg6ued0/Gio-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 863s # Return code: 0 863s # Output: 863s # 863s # Error: 863s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 863s # gi-compile-repository: /usr/bin/gi-compile-repository 863s # tmpdir: /tmp/tmpobe7l5ky 863s # 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/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 863s # Return code: 1 863s # Output: 863s # 863s # Error: 863s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 863s 1..7 863s ok - glib/gi-compile-repository.py.test 863s # Running test: glib/gmenumodel.test 863s TAP version 14 863s # random seed: R02S5fcc1a3ea3dacb3746bb9a538d0ae41c 863s 1..15 863s # Start of gmenu tests 864s ok 1 /gmenu/equality 864s # slow test /gmenu/equality executed in 0.56 secs 865s ok 2 /gmenu/random 865s # slow test /gmenu/random executed in 0.65 secs 865s ok 3 /gmenu/attributes 865s ok 4 /gmenu/links 865s ok 5 /gmenu/mutable 865s ok 6 /gmenu/convenience 865s ok 7 /gmenu/menuitem 865s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 865s ok 8 /gmenu/input-validation 865s # Start of dbus tests 866s ok 9 /gmenu/dbus/roundtrip 866s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 866s ok 10 /gmenu/dbus/subscriptions 867s ok 11 /gmenu/dbus/threaded 867s # slow test /gmenu/dbus/threaded executed in 0.78 secs 867s # Start of peer tests 868s # Executing: glib/gmenumodel.test 868s ok 12 /gmenu/dbus/peer/roundtrip 868s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 868s ok 13 /gmenu/dbus/peer/subscriptions 868s # End of peer tests 868s # Start of export tests 868s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 868s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 868s ok 14 /gmenu/dbus/export/error-handling 868s # End of export tests 868s # End of dbus tests 868s # Start of attributes tests 868s ok 15 /gmenu/attributes/iterate 868s # End of attributes tests 868s # End of gmenu tests 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 868s ok - glib/gmenumodel.test 868s # Running test: glib/portal-support-flatpak-full.test 868s TAP version 14 868s ok - glib/portal-support-flatpak-full.test 868s # Running test: glib/threadtests.test 868s # random seed: R02Sa38cc8613b00101ee1323b886084ec6b 868s 1..1 868s # Start of portal-support tests 868s # Start of flatpak tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/runtime 868s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_ILV752/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 868s ok 1 /portal-support/flatpak/full 868s # End of flatpak tests 868s # End of portal-support tests 868s TAP version 14 868s # random seed: R02S92db30cb121737aa80b2f427687d5529 868s 1..5 868s # Start of GObject tests 868s ok 1 /GObject/threaded-object-init 869s ok 2 /GObject/threaded-weak-ref 869s # slow test /GObject/threaded-weak-ref executed in 0.68 secs 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 869s # /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 869s ok 3 /GObject/threaded-toggle-notify 869s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 869s # Start of threaded-weak-ref tests 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 869s # /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. 869s ok 5 /GObject/threaded-weak-ref/on-finalization 869s # End of threaded-weak-ref tests 869s # End of GObject tests 869s ok - glib/threadtests.test 869s # Running test: glib/gdbus-bz627724.test 869s TAP version 14 869s # random seed: R02S8612a4791bfbe1820e17081f90afa2a1 869s 1..1 869s # Start of gdbus tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_12F752/gdbus/bz627724/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 1 /gdbus/bz627724 869s # End of gdbus tests 869s ok - glib/gdbus-bz627724.test 869s # Running test: glib/tree.test 869s ok - glib/tree.test 869s # Running test: glib/timer.test 869s ok - glib/timer.test 869s # Running test: glib/fileattributematcher.test 869s ok - glib/fileattributematcher.test 869s # Running test: glib/logging.test 869s TAP version 14 869s # random seed: R02Sca1dd3528452c76e77819149d0b278a5 869s 1..7 869s # Start of tree tests 869s ok 1 /tree/search 869s ok 2 /tree/remove 869s ok 3 /tree/destroy 869s ok 4 /tree/traverse 869s ok 5 /tree/insert 869s ok 6 /tree/bounds 869s ok 7 /tree/remove-all 869s # End of tree tests 869s TAP version 14 869s # random seed: R02S6897667e8d5cef0ae7e0a9f68cfd7396 869s 1..10 869s # Start of timer tests 869s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 869s ok 2 /timer/stop 869s ok 3 /timer/continue 869s ok 4 /timer/reset 869s ok 5 /timer/is_active 869s # End of timer tests 869s # Start of timeval tests 869s ok 6 /timeval/add 869s ok 7 /timeval/from-iso8601 869s ok 8 /timeval/to-iso8601 869s # Start of to-iso8601 tests 869s ok 9 /timeval/to-iso8601/overflow 869s # End of to-iso8601 tests 869s # End of timeval tests 869s # Start of usleep tests 869s ok 10 /usleep/with-zero-wait 869s # End of usleep tests 869s TAP version 14 869s # random seed: R02S7c094c424541e7ef58e5c9e9d4dccb99 869s 1..3 869s # Start of fileattributematcher tests 869s ok 1 /fileattributematcher/exact 869s ok 2 /fileattributematcher/equality 869s ok 3 /fileattributematcher/subtract 869s # End of fileattributematcher tests 869s TAP version 14 869s # random seed: R02Sef331a4c42b1b59bb0026c77ae85bd03 869s 1..17 869s # Start of logging tests 870s ok 1 /logging/default-handler 870s # slow test /logging/default-handler executed in 0.76 secs 870s ok 2 /logging/warnings 870s ok 3 /logging/fatal-log-mask 870s # bu-DEBUG: message 870s # ba-DEBUG: message 870s # ba-INFO: message 870s ok 4 /logging/set-handler 870s ok 5 /logging/print-handler 870s ok 6 /logging/printerr-handler 870s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 870s # The Log Message Handler 870s # 870s # The Good Fail Message Handler 870s # 870s ok 7 /logging/653052 870s ok 8 /logging/gibberish 870s # Start of default-handler tests 870s # Start of subprocess tests 870s # End of subprocess tests 870s # End of default-handler tests 870s # End of logging tests 870s # Start of structured-logging tests 870s ok 9 /structured-logging/no-state 870s ok 10 /structured-logging/some-state 870s ok 11 /structured-logging/robustness 870s ok 12 /structured-logging/roundtrip1 870s ok - glib/logging.test 870s # Running test: glib/win32-appinfo.test 870s ok - glib/win32-appinfo.test 870s ok 13 /structured-logging/roundtrip2 870s ok 14 /structured-logging/roundtrip3 870s ok 15 /structured-logging/variant1 870s ok 16 /structured-logging/variant2 870s ok 17 /structured-logging/set-writer-func-twice 870s # End of structured-logging tests 870s TAP version 14 870s # random seed: R02S726e434a887f328e898b9f44ec55e0ca 870s 1..5 870s # Start of appinfo tests 870s ok 1 /appinfo/utf16-strfuncs 870s ok 2 /appinfo/win32-extract-executable 870s ok 3 /appinfo/win32-rundll32-fixup 870s ok 4 /appinfo/win32-parse-filename 870s ok 5 /appinfo/win32-utf16-conversion-fail 870s # Start of subprocess tests 870s # End of subprocess tests 870s # End of appinfo tests 870s # Running test: glib/memory-monitor-portal.test 870s TAP version 13 870s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 870s 1..1 871s ok - glib/memory-monitor-portal.test 871s # Running test: glib/gvariant.test 871s TAP version 14 871s # random seed: R02S05f8c885b89f9028e5a7debad1107eef 871s 1..69 871s # Start of gvariant tests 871s ok 1 /gvariant/type 871s ok 2 /gvariant/typeinfo 871s ok 3 /gvariant/string 871s ok 4 /gvariant/utf8 871s ok 5 /gvariant/utf8-new-strings 873s # Executing: glib/gvariant.test 873s ok 6 /gvariant/containers 873s # slow test /gvariant/containers executed in 2.05 secs 873s ok 7 /gvariant/format-strings 873s ok 8 /gvariant/invalid-varargs 873s ok 9 /gvariant/varargs 873s ok 10 /gvariant/valist 873s ok 11 /gvariant/builder-memory 873s ok 12 /gvariant/hashing 873s ok 13 /gvariant/byteswap 873s ok 14 /gvariant/parser 873s # slow test /gvariant/parser executed in 0.61 secs 873s ok 15 /gvariant/parse-failures 874s ok 16 /gvariant/parse-positional 874s ok 17 /gvariant/floating 874s ok 18 /gvariant/bytestring 874s ok 19 /gvariant/lookup-value 874s ok 20 /gvariant/lookup 874s ok 21 /gvariant/compare 874s ok 22 /gvariant/equal 874s ok 23 /gvariant/fixed-array 874s ok 24 /gvariant/check-format-string 874s ok 25 /gvariant/checksum-basic 874s ok 26 /gvariant/checksum-nested 874s ok 27 /gvariant/gbytes 874s ok 28 /gvariant/print-context 874s ok 29 /gvariant/error-quark 874s ok 30 /gvariant/stack-builder-init 874s ok 31 /gvariant/stack-builder-init-static 874s ok 32 /gvariant/stack-builder-init-unset 874s ok 33 /gvariant/stack-dict-init 874s ok 34 /gvariant/unaligned-construction 874s # Start of type tests 874s # Start of string-scan tests 874s # Start of recursion tests 874s ok 35 /gvariant/type/string-scan/recursion/tuple 874s ok 36 /gvariant/type/string-scan/recursion/array 874s # End of recursion tests 874s # End of string-scan tests 874s # End of type tests 874s # Start of serialiser tests 874s ok 37 /gvariant/serialiser/maybe 874s ok 38 /gvariant/serialiser/array 874s ok 39 /gvariant/serialiser/tuple 874s ok 40 /gvariant/serialiser/variant 874s ok 41 /gvariant/serialiser/strings 875s ok 42 /gvariant/serialiser/byteswap 875s # slow test /gvariant/serialiser/byteswap executed in 0.67 secs 875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 875s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 875s ok 43 /gvariant/serialiser/children 875s # Start of byteswap tests 875s ok 44 /gvariant/serialiser/byteswap/zero-sized 875s # End of byteswap tests 875s # Start of fuzz tests 875s ok 45 /gvariant/serialiser/fuzz/1% 875s ok 46 /gvariant/serialiser/fuzz/5% 875s ok 47 /gvariant/serialiser/fuzz/9% 875s ok 48 /gvariant/serialiser/fuzz/13% 875s ok 49 /gvariant/serialiser/fuzz/17% 875s # End of fuzz tests 875s # End of serialiser tests 875s # Start of utf8 tests 875s # Start of subprocess tests 875s # End of subprocess tests 875s # End of utf8 tests 875s # Start of varargs tests 875s # Start of subprocess tests 875s # End of subprocess tests 875s # End of varargs tests 875s # Start of byteswap tests 875s # /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. 875s ok 50 /gvariant/byteswap/non-normal-non-aligned 875s # End of byteswap tests 875s # Start of parser tests 875s ok 51 /gvariant/parser/integer-bounds 875s ok 52 /gvariant/parser/recursion 875s # Start of recursion tests 875s ok 53 /gvariant/parser/recursion/typedecls 875s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 875s # Text form 0: @mmmu 5 875s # Text form 1: @mmmas ['hello'] 875s # Text form 2: @mmmu just just nothing 875s # Text form 3: @mmmas just just nothing 875s # Text form 4: @mmmu just nothing 875s ok - glib/gvariant.test 875s # Running test: glib/gobject-private.test 875s ok - glib/gobject-private.test 875s # Text form 5: @mmmas just nothing 875s # Text form 6: @mmmu nothing 875s # Text form 7: @mmmas nothing 875s ok 54 /gvariant/parser/recursion/maybes 875s # End of recursion tests 875s # End of parser tests 875s # Start of parse tests 875s # Start of subprocess tests 875s # End of subprocess tests 875s # End of parse tests 875s # Start of normal-checking tests 875s ok 55 /gvariant/normal-checking/tuples 875s ok 56 /gvariant/normal-checking/array-offsets 875s ok 57 /gvariant/normal-checking/array-offsets2 875s ok 58 /gvariant/normal-checking/tuple-offsets 875s ok 59 /gvariant/normal-checking/tuple-offsets2 875s ok 60 /gvariant/normal-checking/tuple-offsets3 875s ok 61 /gvariant/normal-checking/tuple-offsets4 875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 875s ok 62 /gvariant/normal-checking/tuple-offsets5 875s ok 63 /gvariant/normal-checking/empty-object-path 875s # Start of array-offsets tests 875s ok 64 /gvariant/normal-checking/array-offsets/overlapped 875s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 875s # End of array-offsets tests 875s # Start of tuple-offsets tests 875s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 875s # End of tuple-offsets tests 875s # End of normal-checking tests 875s # Start of recursion-limits tests 875s ok 67 /gvariant/recursion-limits/variant-in-variant 875s ok 68 /gvariant/recursion-limits/array-in-variant 875s # End of recursion-limits tests 875s # End of gvariant tests 875s # Start of gvarianttype tests 875s ok 69 /gvarianttype/hash 875s # End of gvarianttype tests 875s TAP version 14 875s # random seed: R02S424c370c48ca0e6a5d412959b661820d 875s 1..3 875s # Start of private tests 875s ok 1 /private/instance 875s ok 2 /private/derived-instance 875s ok 3 /private/mixed-derived-instance 875s # End of private tests 875s # Running test: glib/types.test 875s ok - glib/types.test 875s # Running test: glib/repository.test 875s TAP version 14 875s # random seed: R02Sc57b878d4b7b7bb5c4c4095c96a91f62 875s 1..1 875s # Start of types tests 875s ok 1 /types/basic_types 875s # End of types tests 875s TAP version 14 875s # random seed: R02Sc756fb762e77cc6a699523b24855a620 875s 1..23 875s # Start of repository tests 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/basic/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/basic/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/basic/.dirs/system-config1:/tmp/test_repository_1J0152/repository/basic/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/basic/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/basic/.dirs/system-data1:/tmp/test_repository_1J0152/repository/basic/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/basic/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/basic/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/basic/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 875s ok 1 /repository/basic 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/info/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/info/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/info/.dirs/system-config1:/tmp/test_repository_1J0152/repository/info/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/info/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/info/.dirs/system-data1:/tmp/test_repository_1J0152/repository/info/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/info/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/info/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/info/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/info summary: Test retrieving some basic info blobs from a typelib 875s ok 2 /repository/info 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/dependencies/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/dependencies/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/dependencies/.dirs/system-config1:/tmp/test_repository_1J0152/repository/dependencies/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/dependencies/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/dependencies/.dirs/system-data1:/tmp/test_repository_1J0152/repository/dependencies/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/dependencies/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/dependencies/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/dependencies/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 875s ok 3 /repository/dependencies 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/arg-info/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/arg-info/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/arg-info/.dirs/system-config1:/tmp/test_repository_1J0152/repository/arg-info/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/arg-info/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/arg-info/.dirs/system-data1:/tmp/test_repository_1J0152/repository/arg-info/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/arg-info/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/arg-info/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/arg-info/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 875s ok 4 /repository/arg-info 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/callable-info/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/callable-info/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/callable-info/.dirs/system-config1:/tmp/test_repository_1J0152/repository/callable-info/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/callable-info/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/callable-info/.dirs/system-data1:/tmp/test_repository_1J0152/repository/callable-info/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/callable-info/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/callable-info/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/callable-info/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 875s ok 5 /repository/callable-info 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/callback-info/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/callback-info/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/callback-info/.dirs/system-config1:/tmp/test_repository_1J0152/repository/callback-info/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/callback-info/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/callback-info/.dirs/system-data1:/tmp/test_repository_1J0152/repository/callback-info/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/callback-info/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/callback-info/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/callback-info/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 875s ok 6 /repository/callback-info 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/char-types/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/char-types/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/char-types/.dirs/system-config1:/tmp/test_repository_1J0152/repository/char-types/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/char-types/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/char-types/.dirs/system-data1:/tmp/test_repository_1J0152/repository/char-types/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/char-types/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/char-types/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/char-types/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 875s ok 7 /repository/char-types 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/constructor-return-type/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 875s ok 8 /repository/constructor-return-type 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/home 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/cache 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/system-config2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/config 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/system-data2 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/data 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/state 875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/enum-info-c-identifier/.dirs/runtime 875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 875s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 875s ok 9 /repository/enum-info-c-identifier 875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/enum-info-static-methods/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/enum-info-static-methods summary: Test an enum with methods 876s ok 10 /repository/enum-info-static-methods 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/error-quark/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/error-quark/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/error-quark/.dirs/system-config1:/tmp/test_repository_1J0152/repository/error-quark/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/error-quark/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/error-quark/.dirs/system-data1:/tmp/test_repository_1J0152/repository/error-quark/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/error-quark/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/error-quark/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/error-quark/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/error-quark summary: Test finding an error quark by error domain 876s ok 11 /repository/error-quark 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/flags-info-c-identifier/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 876s ok 12 /repository/flags-info-c-identifier 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/fundamental-ref-func/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 876s ok 13 /repository/fundamental-ref-func 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/instance-method-ownership-transfer/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 876s ok 14 /repository/instance-method-ownership-transfer 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/object-gtype-interfaces/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 876s ok 15 /repository/object-gtype-interfaces 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/signal-info-with-array-length-arg/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 876s ok 16 /repository/signal-info-with-array-length-arg 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_1J0152/repository/type-info-name/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_1J0152/repository/type-info-name/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/type-info-name/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 876s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 876s ok 17 /repository/type-info-name 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/vfunc-info-with-no-invoker/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 876s ok 18 /repository/vfunc-info-with-no-invoker 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 876s ok - glib/repository.test 876s # Running test: glib/gdatetime.test 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 876s ok 19 /repository/vfunc-info-with-invoker-on-interface 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 876s ok 20 /repository/vfunc-info-with-invoker-on-object 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/find-by-gtype/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/find-by-gtype summary: Test finding a GType 876s ok 21 /repository/find-by-gtype 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/loaded-namespaces/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/loaded-namespaces summary: Test listing loaded namespaces 876s ok 22 /repository/loaded-namespaces 876s # Start of base-info tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_1J0152/repository/base-info/clear/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_1J0152/repository/base-info/clear/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_1J0152/repository/base-info/clear/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 876s ok 23 /repository/base-info/clear 876s # End of base-info tests 876s # End of repository tests 876s TAP version 14 876s # random seed: R02S63933bb4107d7aab3f4ca3c520d42068 876s 1..68 876s # Start of GDateTime tests 876s # Bug Reference: http://bugzilla.gnome.org/702674 876s ok 1 /GDateTime/invalid 876s ok 2 /GDateTime/add_days 876s ok 3 /GDateTime/add_full 876s ok 4 /GDateTime/add_hours 876s ok 5 /GDateTime/add_minutes 876s ok 6 /GDateTime/add_months 876s ok 7 /GDateTime/add_seconds 876s ok 8 /GDateTime/add_weeks 876s ok 9 /GDateTime/add_years 876s ok 10 /GDateTime/compare 876s ok 11 /GDateTime/diff 876s ok 12 /GDateTime/equal 876s ok 13 /GDateTime/get_day_of_week 876s ok 14 /GDateTime/get_day_of_month 876s ok 15 /GDateTime/get_day_of_year 876s ok 16 /GDateTime/get_hour 876s ok 17 /GDateTime/get_microsecond 876s ok 18 /GDateTime/get_minute 876s ok 19 /GDateTime/get_month 876s ok 20 /GDateTime/get_second 876s ok 21 /GDateTime/get_utc_offset 876s ok 22 /GDateTime/get_year 876s ok 23 /GDateTime/hash 876s ok 24 /GDateTime/new_from_unix 876s ok 25 /GDateTime/new_from_unix_utc 876s ok 26 /GDateTime/new_from_timeval 876s ok 27 /GDateTime/new_from_timeval_utc 876s ok 28 /GDateTime/new_from_iso8601 876s ok 29 /GDateTime/new_full 876s ok 30 /GDateTime/now 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 876s ok 31 /GDateTime/test-6-days-until-end-of-the-month 876s # %a -> expected: Sat 876s # %a -> actual: Sat 876s # %A -> expected: Saturday 876s # %A -> actual: Saturday 876s # %b -> expected: Oct 876s # %b -> actual: Oct 876s # %B -> expected: October 876s # %B -> actual: October 876s # %d -> expected: 24 876s # %d -> actual: 24 876s # %d -> expected: 01 876s # %d -> actual: 01 876s # %e -> expected: 24 876s # %e -> actual: 24 876s # %e -> expected:  1 876s # %e -> actual:  1 876s # %f -> expected: 001000 876s # %f -> actual: 001000 876s # %h -> expected: Oct 876s # %h -> actual: Oct 876s # %H -> expected: 00 876s # %H -> actual: 00 876s # %H -> expected: 15 876s # %H -> actual: 15 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %I -> expected: 03 876s # %I -> actual: 03 876s # %j -> expected: 297 876s # %j -> actual: 297 876s # %k -> expected:  0 876s # %k -> actual:  0 876s # %k -> expected: 13 876s # %k -> actual: 13 876s # %l -> expected: 12 876s # %l -> actual: 12 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %l -> expected:  1 876s # %l -> actual:  1 876s # %l -> expected: 10 876s # %l -> actual: 10 876s # %m -> expected: 10 876s # %m -> actual: 10 876s # %M -> expected: 00 876s # %M -> actual: 00 876s # %p -> expected: AM 876s # %p -> actual: AM 876s # %p -> expected: PM 876s # %p -> actual: PM 876s # %P -> expected: am 876s # %P -> actual: am 876s # %P -> expected: pm 876s # %P -> actual: pm 876s # %r -> expected: 12:00:00 AM 876s # %r -> actual: 12:00:00 AM 876s # %r -> expected: 01:13:13 PM 876s # %r -> actual: 01:13:13 PM 876s # %R -> expected: 00:00 876s # %R -> actual: 00:00 876s # %R -> expected: 13:13 876s # %R -> actual: 13:13 876s # %S -> expected: 00 876s # %S -> actual: 00 876s # %t -> expected: 876s # %t -> actual: 876s # %u -> expected: 6 876s # %u -> actual: 6 876s # %x -> expected: 10/24/09 876s # %x -> actual: 10/24/09 876s # %X -> expected: 00:00:00 876s # %X -> actual: 00:00:00 876s # %X -> expected: 13:14:15 876s # %X -> actual: 13:14:15 876s # %y -> expected: 09 876s # %y -> actual: 09 876s # %Y -> expected: 2009 876s # %Y -> actual: 2009 876s # %% -> expected: % 876s # %% -> actual: % 876s # % -> expected: 876s # % -> actual: 876s # %9 -> expected: (null) 876s # %9 -> actual: (null) 876s # %Z -> expected: UTC 876s # %Z -> actual: UTC 876s # %#Z %Z -> expected: utc UTC 876s # %#Z %Z -> actual: utc UTC 876s ok 32 /GDateTime/printf 876s # %a -> expected: ÅÚ 876s # %a -> actual: ÅÚ 876s # %A -> expected: ÅÚÍËÆü 876s # %A -> actual: ÅÚÍËÆü 876s # %b -> expected: 10·î 876s # %b -> actual: 10·î 876s # %B -> expected: 10·î 876s # %B -> actual: 10·î 876s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 876s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 876s # %C -> expected: 20 876s # %C -> actual: 20 876s # %d -> expected: 24 876s # %d -> actual: 24 876s # %d -> expected: 01 876s # %d -> actual: 01 876s # %e -> expected: 24 876s # %e -> actual: 24 876s # %h -> expected: 10·î 876s # %h -> actual: 10·î 876s # %H -> expected: 00 876s # %H -> actual: 00 876s # %H -> expected: 15 876s # %H -> actual: 15 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %I -> expected: 03 876s # %I -> actual: 03 876s # %j -> expected: 297 876s # %j -> actual: 297 876s # %k -> expected: ?0 876s # %k -> actual: ?0 876s # %k -> expected: 13 876s # %k -> actual: 13 876s # %l -> expected: 12 876s # %l -> actual: 12 876s # %I -> expected: 12 876s # %I -> actual: 12 876s # %l -> expected: ?1 876s # %l -> actual: ?1 876s # %l -> expected: 10 876s # %l -> actual: 10 876s # %m -> expected: 10 876s # %m -> actual: 10 876s # %M -> expected: 00 876s # %M -> actual: 00 876s # %p -> expected: ¸áÁ° 876s # %p -> actual: ¸áÁ° 876s # %p -> expected: ¸á¸å 876s # %p -> actual: ¸á¸å 876s # %P -> expected: ¸áÁ° 876s # %P -> actual: ¸áÁ° 876s # %P -> expected: ¸á¸å 876s # %P -> actual: ¸á¸å 876s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 876s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 876s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 876s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 876s # %R -> expected: 00:00 876s # %R -> actual: 00:00 876s # %R -> expected: 13:13 876s # %R -> actual: 13:13 876s # %S -> expected: 00 876s # %S -> actual: 00 876s # %t -> expected: 876s # %t -> actual: 876s # %u -> expected: 6 876s # %u -> actual: 6 876s # %x -> expected: 2009ǯ10·î24Æü 876s # %x -> actual: 2009ǯ10·î24Æü 876s # %X -> expected: 00»þ00ʬ00Éà 876s # %X -> actual: 00»þ00ʬ00Éà 876s # %X -> expected: 13»þ14ʬ15Éà 876s # %X -> actual: 13»þ14ʬ15Éà 876s # %y -> expected: 09 876s # %y -> actual: 09 876s # %Y -> expected: 2009 876s # %Y -> actual: 2009 876s # %% -> expected: % 876s # %% -> actual: % 876s # % -> expected: 876s # % -> actual: 876s # %9 -> expected: (null) 876s # %9 -> actual: (null) 876s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 876s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 876s # %EC -> expected: Ê¿À® 876s # %EC -> actual: Ê¿À® 876s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 876s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 876s # %EX -> expected: 00»þ00ʬ00Éà 876s # %EX -> actual: 00»þ00ʬ00Éà 876s # %Ey -> expected: 21 876s # %Ey -> actual: 21 876s # %EY -> expected: Ê¿À®21ǯ 876s # %EY -> actual: Ê¿À®21ǯ 876s ok 33 /GDateTime/non_utf8_printf 876s # ???? -> expected: ???? 876s # ???? -> actual: ???? 876s # %H?%M -> expected: 23?15 876s # %H?%M -> actual: 23?15 876s # %H?%M -> expected: 23?15 876s # %H?%M -> actual: 23?15 876s ok 34 /GDateTime/format_unrepresentable 876s ok 35 /GDateTime/format_iso8601 876s ok 36 /GDateTime/strftime 876s # %d -> expected: 01 876s # %d -> actual: 01 876s # %_d -> expected: 1 876s # %_d -> actual: 1 876s # %-d -> expected: 1 876s # %-d -> actual: 1 876s # %0d -> expected: 01 876s # %0d -> actual: 01 876s # %d -> expected: 21 876s # %d -> actual: 21 876s # %_d -> expected: 21 876s # %_d -> actual: 21 876s # %-d -> expected: 21 876s # %-d -> actual: 21 876s # %0d -> expected: 21 876s # %0d -> actual: 21 876s # %e -> expected:  1 876s # %e -> actual:  1 876s # %_e -> expected: 1 876s # %_e -> actual: 1 876s # %-e -> expected: 1 876s # %-e -> actual: 1 876s # %0e -> expected: 01 876s # %0e -> actual: 01 876s # %e -> expected: 21 876s # %e -> actual: 21 876s # %_e -> expected: 21 876s # %_e -> actual: 21 876s # %-e -> expected: 21 876s # %-e -> actual: 21 876s # %0e -> expected: 21 876s # %0e -> actual: 21 876s # %a -> expected: Thu 876s # %a -> actual: Thu 876s # %^a -> expected: THU 876s # %^a -> actual: THU 876s # %#a -> expected: THU 876s # %#a -> actual: THU 876s # %A -> expected: Thursday 876s # %A -> actual: Thursday 876s # %^A -> expected: THURSDAY 876s # %^A -> actual: THURSDAY 876s # %#A -> expected: THURSDAY 876s # %#A -> actual: THURSDAY 876s # %b -> expected: Jan 876s # %b -> actual: Jan 876s # %^b -> expected: JAN 876s # %^b -> actual: JAN 876s # %#b -> expected: JAN 876s # %#b -> actual: JAN 876s # %B -> expected: January 876s # %B -> actual: January 876s # %^B -> expected: JANUARY 876s # %^B -> actual: JANUARY 876s # %#B -> expected: JANUARY 876s # %#B -> actual: JANUARY 876s # %h -> expected: Jan 876s # %h -> actual: Jan 876s # %^h -> expected: JAN 876s # %^h -> actual: JAN 876s # %#h -> expected: JAN 876s # %#h -> actual: JAN 876s # %Z -> expected: UTC 876s # %Z -> actual: UTC 876s # %^Z -> expected: UTC 876s # %^Z -> actual: UTC 876s # %#Z -> expected: utc 876s # %#Z -> actual: utc 876s # %H -> expected: 01 876s # %H -> actual: 01 876s # %_H -> expected: 1 876s # %_H -> actual: 1 876s # %-H -> expected: 1 876s # %-H -> actual: 1 876s # %0H -> expected: 01 876s # %0H -> actual: 01 876s # %H -> expected: 21 876s # %H -> actual: 21 876s # %_H -> expected: 21 876s # %_H -> actual: 21 876s # %-H -> expected: 21 876s # %-H -> actual: 21 876s # %0H -> expected: 21 876s # %0H -> actual: 21 876s # %I -> expected: 01 876s # %I -> actual: 01 876s # %_I -> expected: 1 876s # %_I -> actual: 1 876s # %-I -> expected: 1 876s # %-I -> actual: 1 876s # %0I -> expected: 01 876s # %0I -> actual: 01 876s # %I -> expected: 11 876s # %I -> actual: 11 876s # %_I -> expected: 11 876s # %_I -> actual: 11 876s # %-I -> expected: 11 876s # %-I -> actual: 11 876s # %0I -> expected: 11 876s # %0I -> actual: 11 876s # %k -> expected:  1 876s # %k -> actual:  1 876s # %_k -> expected: 1 876s # %_k -> actual: 1 876s # %-k -> expected: 1 876s # %-k -> actual: 1 876s # %0k -> expected: 01 876s # %0k -> actual: 01 876s # %l -> expected:  1 876s # %l -> actual:  1 876s # %_l -> expected: 1 876s # %_l -> actual: 1 876s # %-l -> expected: 1 876s # %-l -> actual: 1 876s # %0l -> expected: 01 876s # %0l -> actual: 01 876s # %l -> expected: 11 876s # %l -> actual: 11 876s # %_l -> expected: 11 876s # %_l -> actual: 11 876s # %-l -> expected: 11 876s # %-l -> actual: 11 876s # %0l -> expected: 11 876s # %0l -> actual: 11 876s # %p -> expected: AM 876s # %p -> actual: AM 876s # %^p -> expected: AM 876s # %^p -> actual: AM 876s # %#p -> expected: am 876s # %#p -> actual: am 876s # %P -> expected: am 876s # %P -> actual: am 876s # %^P -> expected: AM 876s # %^P -> actual: AM 876s # %#P -> expected: am 876s # %#P -> actual: am 876s # %OH -> expected: Û²Û³ 876s # %OH -> actual: Û²Û³ 876s # %OI -> expected: Û±Û± 876s # %OI -> actual: Û±Û± 876s # %OM -> expected: Û°Û° 876s # %OM -> actual: Û°Û° 876s # %Om -> expected: Û°Û· 876s # %Om -> actual: Û°Û· 876s # %0Om -> expected: Û°Û· 876s # %0Om -> actual: Û°Û· 876s # %-Om -> expected: Û· 876s # %-Om -> actual: Û· 876s # %_Om -> expected: Û· 876s # %_Om -> actual: Û· 876s # %c -> expected: thu 01 jan 2009 00:00:00 utc 876s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 876s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 876s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 876s # %C -> expected: 20 876s # %C -> actual: 20 876s # %EC -> expected: 20 876s # %EC -> actual: 20 876s # %x -> expected: 02/01/09 876s # %x -> actual: 02/01/09 876s # %Ex -> expected: 02/01/09 876s # %Ex -> actual: 02/01/09 876s # %X -> expected: 01:02:03 876s # %X -> actual: 01:02:03 876s # %EX -> expected: 01:02:03 876s # %EX -> actual: 01:02:03 876s # %y -> expected: 09 876s # %y -> actual: 09 876s # %Ey -> expected: 09 876s # %Ey -> actual: 09 876s # %Y -> expected: 2009 876s # %Y -> actual: 2009 876s # %EY -> expected: 2009 876s # %EY -> actual: 2009 876s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 876s # Bug Reference: http://bugzilla.gnome.org/749206 876s # %B -> expected: January 876s # %B -> actual: January 876s # %OB -> expected: February 876s # %OB -> actual: February 876s # %b -> expected: Mar 876s # %b -> actual: Mar 876s # %Ob -> expected: Apr 876s # %Ob -> actual: Apr 876s # %h -> expected: May 876s # %h -> actual: May 876s # %Oh -> expected: Jun 876s # %Oh -> actual: Jun 876s # %B -> expected: Juli 876s # %B -> actual: Juli 876s # %OB -> expected: August 876s # %OB -> actual: August 876s # %b -> expected: Sep 876s # %b -> actual: Sep 876s # %Ob -> expected: Okt 876s # %Ob -> actual: Okt 876s # %h -> expected: Nov 876s # %h -> actual: Nov 876s # %Oh -> expected: Dez 876s # %Oh -> actual: Dez 876s # %B -> expected: enero 876s # %B -> actual: enero 876s # %OB -> expected: febrero 876s # %OB -> actual: febrero 876s # %b -> expected: mar 876s # %b -> actual: mar 876s # %Ob -> expected: abr 876s # %Ob -> actual: abr 876s # %h -> expected: may 876s # %h -> actual: may 876s # %Oh -> expected: jun 876s # %Oh -> actual: jun 876s # %B -> expected: juillet 876s # %B -> actual: juillet 876s # %OB -> expected: août 876s # %OB -> actual: août 876s # %b -> expected: sept. 876s # %b -> actual: sept. 876s # %Ob -> expected: oct. 876s # %Ob -> actual: oct. 876s # %h -> expected: nov. 876s # %h -> actual: nov. 876s # %Oh -> expected: déc. 876s # %Oh -> actual: déc. 876s # %B -> expected: ΙανουαÏίου 876s # %B -> actual: ΙανουαÏίου 876s # %B -> expected: ΦεβÏουαÏίου 876s # %B -> actual: ΦεβÏουαÏίου 876s # %B -> expected: ΜαÏτίου 876s # %B -> actual: ΜαÏτίου 876s # %OB -> expected: ΑπÏίλιος 876s # %OB -> actual: ΑπÏίλιος 876s # %OB -> expected: Μάιος 876s # %OB -> actual: Μάιος 876s # %OB -> expected: ΙοÏνιος 876s # %OB -> actual: ΙοÏνιος 876s # %b -> expected: Ιουλ 876s # %b -> actual: Ιουλ 876s # %Ob -> expected: ΑÏγ 876s # %Ob -> actual: ΑÏγ 876s # %B -> expected: svibnja 876s # %B -> actual: svibnja 876s # %B -> expected: lipnja 876s # %B -> actual: lipnja 876s # %B -> expected: srpnja 876s # %B -> actual: srpnja 876s # %OB -> expected: Kolovoz 876s # %OB -> actual: kolovoz 876s # %OB -> expected: Rujan 876s # %OB -> actual: rujan 876s # %OB -> expected: Listopad 876s # %OB -> actual: listopad 876s # %b -> expected: Stu 876s # %b -> actual: stu 876s # %Ob -> expected: Pro 876s # %Ob -> actual: pro 876s # %B -> expected: sausio 876s # %B -> actual: sausio 876s # %B -> expected: vasario 876s # %B -> actual: vasario 876s # %B -> expected: kovo 876s # %B -> actual: kovo 876s # %OB -> expected: balandis 876s # %OB -> actual: balandis 876s # %OB -> expected: gegužė 876s # %OB -> actual: gegužė 876s # %OB -> expected: birželis 876s # %OB -> actual: birželis 876s # %b -> expected: liep. 876s # %b -> actual: liep. 876s # %Ob -> expected: rugp. 876s # %Ob -> actual: rugp. 876s # %B -> expected: maja 876s # %B -> actual: maja 876s # %B -> expected: czerwca 876s # %B -> actual: czerwca 876s # %B -> expected: lipca 876s # %B -> actual: lipca 876s # %OB -> expected: sierpieÅ„ 876s # %OB -> actual: sierpieÅ„ 876s # %OB -> expected: wrzesieÅ„ 876s # %OB -> actual: wrzesieÅ„ 876s # %OB -> expected: październik 876s # %OB -> actual: październik 876s # %b -> expected: lis 876s # %b -> actual: lis 876s # %Ob -> expected: gru 876s # %Ob -> actual: gru 876s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 876s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 876s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 876s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 876s # %B -> expected: марта 876s # %B -> actual: марта 876s # %OB -> expected: Ðпрель 876s # %OB -> actual: Ðпрель 876s # %OB -> expected: Май 876s # %OB -> actual: Май 876s # %OB -> expected: Июнь 876s # %OB -> actual: Июнь 876s # %b -> expected: июл 876s # %b -> actual: июл 876s # %Ob -> expected: авг 876s # %Ob -> actual: авг 876s # %b -> expected: Ð¼Ð°Ñ 876s # %b -> actual: Ð¼Ð°Ñ 876s # %Ob -> expected: май 876s # %Ob -> actual: май 876s ok 38 /GDateTime/month_names 876s ok 39 /GDateTime/to_local 876s ok 40 /GDateTime/to_unix 876s ok 41 /GDateTime/to_timeval 876s ok 42 /GDateTime/to_utc 876s ok 43 /GDateTime/now_utc 876s ok 44 /GDateTime/dst 876s # Bug Reference: http://bugzilla.gnome.org/642935 876s ok 45 /GDateTime/test_z 877s ok 46 /GDateTime/test-all-dates 877s # slow test /GDateTime/test-all-dates executed in 0.93 secs 877s ok 47 /GDateTime/unix_usec 877s # Start of new_from_unix tests 877s # Bug Reference: http://bugzilla.gnome.org/782089 877s ok 48 /GDateTime/new_from_unix/overflow 877s # End of new_from_unix tests 877s # Start of new_from_timeval tests 877s # Bug Reference: http://bugzilla.gnome.org/782089 877s # Maximum supported GTimeVal.tv_sec = 253402300799 877s ok 49 /GDateTime/new_from_timeval/overflow 877s # End of new_from_timeval tests 877s # Start of new_from_iso8601 tests 877s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 877s # Vector 0: 1990-11-01T10:21:17Z 877s # Vector 1: 19901101T102117Z 877s # Vector 2: 1970-01-01T00:00:17.12Z 877s # Vector 3: 1970-01-01T00:00:17.1234Z 877s # Vector 4: 1970-01-01T00:00:17.123456Z 877s # Vector 5: 1980-02-22T12:36:00+02:00 877s # Vector 6: 1990-12-31T15:59:60-08:00 877s # Vector 7: 877s # Vector 8: x 877s # Vector 9: 123x 877s # Vector 10: 2001-10+x 877s # Vector 11: 1980-02-22T 877s # Vector 12: 2001-10-08Tx 877s # Vector 13: 2001-10-08T10:11x 877s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 877s # Vector 15: 1980-02-22T10:36:00Zulu 877s # Vector 16: 2T0+819855292164632335 877s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 877s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 877s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 877s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 877s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 877s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 877s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 877s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 877s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 877s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 877s # Vector 27: 20180803T140805.446178377+0100 877s # Vector 28: 21474836480803T140805.446178377+0100 877s # Vector 29: 20181303T140805.446178377+0100 877s # Vector 30: 20180003T140805.446178377+0100 877s # Vector 31: 20180800T140805.446178377+0100 877s # Vector 32: 20180832T140805.446178377+0100 877s # Vector 33: 20180803T240805.446178377+0100 877s # Vector 34: 20180803T146005.446178377+0100 877s # Vector 35: 20180803T140863.446178377+0100 877s # Vector 36: 20180803T140805.446178377+10000 877s # Vector 37: -0005-01-01T00:00:00Z 877s # Vector 38: 2018-08-06 877s # Vector 39: 20180803T140805,446178377+0100 877s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 877s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 877s # Vector 42: 1990-11-01T10:21:17 877s # Vector 43: 1719W462 407777-07 877s # Vector 44: 4011090 260528Z 877s # Vector 45: 0000W011 228214-22 877s ok 50 /GDateTime/new_from_iso8601/2 877s # End of new_from_iso8601 tests 877s # Start of format_mixed tests 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 877s # %b -> expected: mar 877s # %b -> actual: Mar 877s # %B -> expected: march 877s # %B -> actual: March 877s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 877s # %b -> expected: mar 877s # %b -> actual: Mar 877s # %B -> expected: march 877s # %B -> actual: March 877s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 877s # %b -> expected: Mär 877s # %b -> actual: Mär 877s # %B -> expected: März 877s # %B -> actual: März 877s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 877s # %b -> expected: Mär 877s # %b -> actual: Mär 877s # %B -> expected: März 877s # %B -> actual: März 877s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 877s # End of format_mixed tests 877s # Start of strftime tests 877s # %r -> expected: (null) 877s # %r -> actual: (null) 877s ok 55 /GDateTime/strftime/error_handling 877s # End of strftime tests 877s # Start of eras tests 877s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 877s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 877s # %EC -> expected: 令和 877s # %EC -> actual: 令和 877s # %Ex -> expected: 令和05å¹´06月01æ—¥ 877s # %Ex -> actual: 令和05å¹´06月01æ—¥ 877s # %EX -> expected: 00時00分00ç§’ 877s # %EX -> actual: 00時00分00ç§’ 877s # %Ey -> expected: 05 877s # %Ey -> actual: 05 877s # %EY -> expected: 令和05å¹´ 877s # %EY -> actual: 令和05å¹´ 877s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 877s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 877s # %EC -> expected: å¹³æˆ 877s # %EC -> actual: å¹³æˆ 877s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 877s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 877s # %EX -> expected: 00時00分00ç§’ 877s # %EX -> actual: 00時00分00ç§’ 877s # %Ey -> expected: 31 877s # %Ey -> actual: 31 877s # %EY -> expected: å¹³æˆ31å¹´ 877s # %EY -> actual: å¹³æˆ31å¹´ 877s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 877s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 877s # %EC -> expected: 昭和 877s # %EC -> actual: 昭和 877s # %Ex -> expected: 昭和元年12月25æ—¥ 877s # %Ex -> actual: 昭和元年12月25æ—¥ 877s # %EX -> expected: 00時00分00ç§’ 877s # %EX -> actual: 00時00分00ç§’ 877s # %Ey -> expected: 01 877s # %Ey -> actual: 01 877s # %EY -> expected: 昭和元年 877s # %EY -> actual: 昭和元年 877s ok 56 /GDateTime/eras/japan 877s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 877s # Vector 0: 877s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 877s # 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å¹´ 877s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 877s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 877s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 8: + 877s # Vector 9: +: 877s # Vector 10: +:: 877s # Vector 11: +:200 877s # Vector 12: +:2nonsense 877s # Vector 13: +:2nonsense: 877s # Vector 14: +:2: 877s # Vector 15: +:2:: 877s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 877s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 877s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 877s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 877s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 877s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 877s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 877s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 877s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 877s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 877s # Vector 28: +:2:2020/01/01 877s # Vector 29: +:2:2020/01/01: 877s # Vector 30: +:2:2020/01/01:: 877s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 877s # Vector 32: +:2:2020/01/01:+* 877s # Vector 33: +:2:2020/01/01:+*: 877s # Vector 34: +:2:2020/01/01:+*:: 877s # Vector 35: +:2:2020/01/01:+*:令和 877s # Vector 36: +:2:2020/01/01:+*:令和: 877s # Vector 37: +:2:2020/01/01:+*:令和:; 877s ok 58 /GDateTime/eras/parsing 877s # End of eras tests 877s # End of GDateTime tests 877s # Start of GTimeZone tests 877s ok 59 /GTimeZone/find-interval 877s ok 60 /GTimeZone/adjust-time 877s ok 61 /GTimeZone/no-header 877s ok 62 /GTimeZone/no-header-identifier 877s ok 63 /GTimeZone/posix-parse 877s # Bug Reference: http://bugzilla.gnome.org/697715 877s ok 64 /GTimeZone/floating-point 877s # System time zone identifier: Etc/UTC 877s ok 65 /GTimeZone/identifier 877s # Vector 0: -158400 877s # Vector 1: -10000 877s # Vector 2: -3600 877s # Vector 3: -61 877s # Vector 4: -60 877s # Vector 5: -59 877s # Vector 6: 0 877s # Vector 7: 59 877s # Vector 8: 60 877s # Vector 9: 61 877s # Vector 10: 3600 877s # Vector 11: 10000 877s # Vector 12: 158400 877s ok 66 /GTimeZone/new-offset 877s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 877s ok 67 /GTimeZone/parse-rfc8536 877s # /GTimeZone/caching summary: GTimeZone instances are cached 877s ok 68 /GTimeZone/caching 877s # End of GTimeZone tests 877s TAP version 14 877s # random seed: R02S28019002a920093793448e9c645d3a74 877s 1..4 877s # Start of C tests 877s ok 1 /C/standard-89 877s # End of C tests 877s # Start of alignof tests 877s ok 2 /alignof/fallback 877s # End of alignof tests 877s # Start of assert tests 877s ok 3 /assert/static 877s # End of assert tests 877s # Start of struct tests 877s ok 4 /struct/sizeof_member 877s # End of struct tests 877s TAP version 14 877s # random seed: R02S0f0be9fa3f4ab3b07e944ab1cd75d25c 877s 1..3 877s # Start of readwrite tests 877s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 877s ok 1 /readwrite/test_g_file_open_readwrite 877s ok 2 /readwrite/test_g_file_create_readwrite 877s ok 3 /readwrite/test_g_file_replace_readwrite 877s # End of readwrite tests 877s TAP version 14 877s # random seed: R02S14a8bc730232ab00039e2aa6386a1947 877s 1..7 877s # Start of signal tests 877s # Start of handler tests 877s # min perf: connected 1 handlers in 0.000 seconds 877s ok 1 /signal/handler/connect-many 877s # min perf: disconnected 1 handlers in 0.000 seconds 877s ok 2 /signal/handler/disconnect-many-ordered 877s # min perf: disconnected 1 handlers in 0.000 seconds 877s ok 3 /signal/handler/disconnect-many-inverse 877s # min perf: disconnected 1 handlers in 0.000 seconds 877s ok 4 /signal/handler/disconnect-many-random 877s # min perf: disconnected 1 handlers in 0.000 seconds 877s ok 5 /signal/handler/disconnect-2-signals 877s # min perf: disconnected 1 handlers in 0.000 seconds 877s ok 6 /signal/handler/disconnect-2-objects 877s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 877s ok 7 /signal/handler/block-many 877s # End of handler tests 877s # End of signal tests 877s TAP version 14 877s # random seed: R02S25f1171bfc2e15dee6cb0f144defff86 877s 1..51 877s # Start of shell tests 877s # Start of cmdline tests 877s test cmdline: foo bar 877s ok 1 /shell/cmdline/0 877s test cmdline: foo 'bar' 877s ok 2 /shell/cmdline/1 877s test cmdline: foo "bar" 877s ok 3 /shell/cmdline/2 877s test cmdline: foo '' 'bar' 877s ok 4 /shell/cmdline/3 877s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 877s ok 5 /shell/cmdline/4 877s test cmdline: foo blah foo bar baz 877s ok 6 /shell/cmdline/5 877s test cmdline: foo ' spaces more spaces lots of spaces in this ' 877s ok 7 /shell/cmdline/6 877s test cmdline: foo \ 877s bar 877s ok 8 /shell/cmdline/7 877s test cmdline: foo '' '' 877s ok 9 /shell/cmdline/8 877s test cmdline: foo \" la la la 877s ok 10 /shell/cmdline/9 877s test cmdline: foo \ foo woo woo\ 877s ok 11 /shell/cmdline/10 877s test cmdline: foo "yada yada \$\"" 877s ok 12 /shell/cmdline/11 877s test cmdline: foo "c:\\" 877s ok - glib/gdatetime.test 877s # Running test: glib/macros-c-89.test 877s ok - glib/macros-c-89.test 877s # Running test: glib/readwrite.test 877s ok - glib/readwrite.test 877s # Running test: glib/signal-handler.test 877s ok - glib/signal-handler.test 877s # Running test: glib/shell.test 877s ok - glib/shell.test 877s ok 13 /shell/cmdline/12 877s test cmdline: foo # bla bla bla 877s bar 877s ok 14 /shell/cmdline/13 877s test cmdline: foo a#b 877s ok 15 /shell/cmdline/14 877s test cmdline: #foo 877s ok 16 /shell/cmdline/15 877s test cmdline: foo bar \ 877s ok 17 /shell/cmdline/16 877s test cmdline: foo 'bar baz 877s ok 18 /shell/cmdline/17 877s test cmdline: foo '"bar" baz 877s ok 19 /shell/cmdline/18 877s test cmdline: 877s ok 20 /shell/cmdline/19 877s test cmdline: 877s ok 21 /shell/cmdline/20 877s test cmdline: # foo bar 877s ok 22 /shell/cmdline/21 877s test cmdline: foo '/bar/summer'\''09 tours.pdf' 877s ok 23 /shell/cmdline/22 877s # End of cmdline tests 877s # Start of quote tests 877s ok 24 /shell/quote/0 877s ok 25 /shell/quote/1 877s ok 26 /shell/quote/2 877s ok 27 /shell/quote/3 877s ok 28 /shell/quote/4 877s ok 29 /shell/quote/5 877s ok 30 /shell/quote/6 877s # End of quote tests 877s # Start of unquote tests 877s ok 31 /shell/unquote/0 877s ok 32 /shell/unquote/1 877s ok 33 /shell/unquote/2 877s ok 34 /shell/unquote/3 877s ok 35 /shell/unquote/4 877s ok 36 /shell/unquote/5 877s ok 37 /shell/unquote/6 877s ok 38 /shell/unquote/7 877s ok 39 /shell/unquote/8 877s ok 40 /shell/unquote/9 877s ok 41 /shell/unquote/10 877s ok 42 /shell/unquote/11 877s ok 43 /shell/unquote/12 877s ok 44 /shell/unquote/13 877s ok 45 /shell/unquote/14 877s ok 46 /shell/unquote/15 877s ok 47 /shell/unquote/16 877s ok 48 /shell/unquote/17 877s ok 49 /shell/unquote/18 877s ok 50 /shell/unquote/19 877s ok 51 /shell/unquote/20 877s # End of unquote tests 877s # End of shell tests 877s # Running test: glib/spawn-singlethread.test 877s ok - glib/spawn-singlethread.test 877s # Running test: glib/utf8-performance.test 877s ok - glib/utf8-performance.test 877s # Running test: glib/utf8-pointer.test 877s TAP version 14 877s # random seed: R02S03a0329bb616ed632d30e3c4092816e0 877s 1..9 877s # Start of gthread tests 877s ok 1 /gthread/spawn-single-sync 877s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 877s ok 2 /gthread/spawn-stderr-socket 877s ok 3 /gthread/spawn-single-async 877s # thread 1 877s # thread 1 877s ok 4 /gthread/spawn-single-async-with-fds 877s ok 5 /gthread/spawn-async-with-invalid-fds 877s ok 6 /gthread/spawn-script 877s ok 7 /gthread/spawn-posix-spawn 877s # Start of spawn tests 877s ok 8 /gthread/spawn/nonexistent 877s # FD map: 877s # • 5 → 15 877s # • 6 → 16 877s # • 7 → 17 877s # • 8 → 18 877s # • 9 → 19 877s # • 10 → 20 877s # • 11 → 21 877s # • 12 → 22 877s # • 13 → 23 877s # • 3 → 13 877s ok 9 /gthread/spawn/fd-assignment-clash 877s # End of spawn tests 877s # End of gthread tests 877s TAP version 14 877s # random seed: R02S2fa386f6f142af57455eb03cc4d1cfb3 877s 1..36 877s # Start of utf8 tests 877s # Start of perf tests 877s # Start of get_char tests 877s # max perf: 43.0 MB/s 877s ok 1 /utf8/perf/get_char/ascii 877s # max perf: 67.0 MB/s 877s ok 2 /utf8/perf/get_char/latin1 877s # max perf: inf MB/s 877s ok 3 /utf8/perf/get_char/cyrillic 877s # max perf: inf MB/s 877s ok 4 /utf8/perf/get_char/han 877s # End of get_char tests 877s # Start of get_char-backwards tests 877s # max perf: 43.0 MB/s 877s ok 5 /utf8/perf/get_char-backwards/ascii 877s # max perf: inf MB/s 877s ok 6 /utf8/perf/get_char-backwards/latin1 877s # max perf: 160.0 MB/s 877s ok 7 /utf8/perf/get_char-backwards/cyrillic 877s # max perf: 156.0 MB/s 877s ok 8 /utf8/perf/get_char-backwards/han 877s # End of get_char-backwards tests 877s # Start of get_char_validated tests 877s # max perf: 43.0 MB/s 877s ok 9 /utf8/perf/get_char_validated/ascii 877s # max perf: inf MB/s 877s ok 10 /utf8/perf/get_char_validated/latin1 877s # max perf: inf MB/s 877s ok 11 /utf8/perf/get_char_validated/cyrillic 877s # max perf: 156.0 MB/s 877s ok 12 /utf8/perf/get_char_validated/han 877s # End of get_char_validated tests 877s # Start of utf8_to_ucs4 tests 877s # max perf: 43.0 MB/s 877s ok 13 /utf8/perf/utf8_to_ucs4/ascii 877s # max perf: inf MB/s 877s ok 14 /utf8/perf/utf8_to_ucs4/latin1 877s # max perf: 160.0 MB/s 877s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 877s # max perf: 156.0 MB/s 877s ok 16 /utf8/perf/utf8_to_ucs4/han 877s # End of utf8_to_ucs4 tests 877s # Start of utf8_to_ucs4-sized tests 877s # max perf: 43.0 MB/s 877s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 877s # max perf: inf MB/s 877s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 877s # max perf: 160.0 MB/s 877s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 877s # max perf: inf MB/s 877s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 877s # End of utf8_to_ucs4-sized tests 877s # Start of utf8_to_ucs4_fast tests 877s # max perf: 43.0 MB/s 877s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 877s # max perf: inf MB/s 877s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 877s # max perf: inf MB/s 877s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 877s # max perf: 156.0 MB/s 877s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 877s # End of utf8_to_ucs4_fast tests 877s # Start of utf8_to_ucs4_fast-sized tests 877s # max perf: inf MB/s 877s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 877s # max perf: 67.0 MB/s 877s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 877s # max perf: 160.0 MB/s 877s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 877s # max perf: inf MB/s 877s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 877s # End of utf8_to_ucs4_fast-sized tests 877s # Start of utf8_validate tests 877s # max perf: inf MB/s 877s ok 29 /utf8/perf/utf8_validate/ascii 877s # max perf: 67.0 MB/s 877s ok 30 /utf8/perf/utf8_validate/latin1 877s # max perf: inf MB/s 877s ok 31 /utf8/perf/utf8_validate/cyrillic 877s # max perf: 156.0 MB/s 877s ok 32 /utf8/perf/utf8_validate/han 877s # End of utf8_validate tests 877s # Start of utf8_validate-sized tests 877s # max perf: inf MB/s 877s ok 33 /utf8/perf/utf8_validate-sized/ascii 877s # max perf: inf MB/s 877s ok 34 /utf8/perf/utf8_validate-sized/latin1 877s # max perf: 160.0 MB/s 877s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 877s # max perf: inf MB/s 877s ok 36 /utf8/perf/utf8_validate-sized/han 877s # End of utf8_validate-sized tests 877s # End of perf tests 877s # End of utf8 tests 877s TAP version 14 877s # random seed: R02S816382b133d18faeb3a1f7e93e7c9fd5 877s 1..3 877s # Start of utf8 tests 878s ok - glib/utf8-pointer.test 878s ok 1 /utf8/offsets 878s # slow test /utf8/offsets executed in 0.89 secs 878s ok 2 /utf8/lengths 878s ok 3 /utf8/find 878s # End of utf8 tests 878s # Running test: glib/struct-info.test 878s TAP version 14 878s # random seed: R02S85ea7838f9a905c4ab63bc30459e07ca 878s 1..4 878s # Start of struct-info tests 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_922552/struct-info/field-iterators/.dirs/runtime 878s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 878s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 878s ok 1 /struct-info/field-iterators 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_922552/struct-info/sizeof-gvalue/.dirs/runtime 878s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 878s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 878s ok 2 /struct-info/sizeof-gvalue 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_922552/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 878s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 878s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 878s ok 3 /struct-info/is-pointer-for-struct-method-arg 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_922552/struct-info/boxed/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_922552/struct-info/boxed/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_922552/struct-info/boxed/.dirs/runtime 878s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 878s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 878s ok - glib/struct-info.test 878s # Running test: glib/power-profile-monitor-dbus.test 878s ok 4 /struct-info/boxed 878s # End of struct-info tests 878s # Executing: glib/power-profile-monitor-dbus.test 878s TAP version 13 878s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 878s 1..1 878s ok - glib/power-profile-monitor-dbus.test 878s # Running test: glib/null-settings-backend.test 878s TAP version 14 878s # random seed: R02S118913e94afcb9c87f5505c7ab014627 878s 1..1 878s # Start of null-settings-backend tests 878s ok 1 /null-settings-backend/extension-point-registered 878s # End of null-settings-backend tests 878s ok - glib/null-settings-backend.test 878s # Running test: glib/simple-proxy.test 878s TAP version 14 878s # random seed: R02S616b3d38c7f8824ecf25e6388189f77c 878s 1..3 878s # Start of static-proxy tests 878s ok 1 /static-proxy/uri 878s ok 2 /static-proxy/socks 878s ok 3 /static-proxy/ignore 878s # End of static-proxy tests 878s ok - glib/simple-proxy.test 878s # Running test: glib/thread-pool-slow.test 878s TAP version 14 878s # random seed: R02S701a552c64f24923ee529c61880262ba 878s 1..7 878s # Start of threadpool tests 878s ok 1 /threadpool/functions 878s ok 2 /threadpool/stop-unused 878s # slow test /threadpool/stop-unused executed in 0.51 secs 879s ok 3 /threadpool/pools 879s # [unsorted] ===> pushed new thread with id:27, number of threads:1, unprocessed:1 879s # [unsorted] ===> pushed new thread with id:44, number of threads:2, unprocessed:1 879s # [unsorted] ===> pushed new thread with id:87, number of threads:3, unprocessed:2 879s # [unsorted] ===> pushed new thread with id:74, number of threads:4, unprocessed:2 879s # [unsorted] ===> pushed new thread with id:58, number of threads:5, unprocessed:2 879s # [unsorted] ===> pushed new thread with id:33, number of threads:6, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:57, number of threads:7, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:44, number of threads:8, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:21, number of threads:9, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:3 879s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:4 879s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:5 879s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:6 879s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:7 879s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:8 879s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:9 879s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:10 879s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:11 879s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:12 879s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:13 879s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:14 879s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:15 879s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:16 879s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:17 879s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:18 879s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:19 879s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:20 879s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:21 879s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:22 879s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:23 879s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:24 879s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:25 879s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:26 879s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:27 879s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:28 879s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:29 879s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:30 879s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:31 879s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:32 879s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:33 879s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:34 879s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:35 879s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:36 879s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:37 879s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:38 879s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:39 879s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:40 879s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:41 879s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:42 879s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:43 879s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:44 879s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:45 879s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:46 879s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:47 879s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:48 879s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:49 879s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:50 879s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:51 879s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:52 879s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:53 879s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:54 879s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:55 879s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:56 879s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:57 879s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:58 879s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:59 879s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:60 879s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:61 879s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:62 879s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:63 879s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:64 879s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:65 879s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:66 879s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:67 879s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:68 879s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:69 879s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:70 879s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:71 879s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:72 879s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:73 879s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:74 879s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:75 879s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:76 879s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:77 879s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:78 879s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:79 879s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:80 879s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:81 879s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:82 879s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:83 879s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:84 879s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 879s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:86 879s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:87 879s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:88 879s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:89 879s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:90 879s ok 4 /threadpool/no-sort 879s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:1 879s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:2 879s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:3 879s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:4 879s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:5 879s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:6 879s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:7 879s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:8 879s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:9 879s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:10 879s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:11 879s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:12 879s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:13 879s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:14 879s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:15 879s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:16 879s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:17 879s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:18 879s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:19 879s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:20 879s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:21 879s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:22 879s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:23 879s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:24 879s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:25 879s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:26 879s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:27 879s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:28 879s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:29 879s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:30 879s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:31 879s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:32 879s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:33 879s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:34 879s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:35 879s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:36 879s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:37 879s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:38 879s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:39 879s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:40 879s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:41 879s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:42 879s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:43 879s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:44 879s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:45 879s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:46 879s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:47 879s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:48 879s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:49 879s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:50 879s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:51 879s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:52 879s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:53 879s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:54 879s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:55 879s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:56 879s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:57 879s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:58 879s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:59 879s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:60 879s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:61 879s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:62 879s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:63 879s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:64 879s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:65 879s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:66 879s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:67 879s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:68 879s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:69 879s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:70 879s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:71 879s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:72 879s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:73 879s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:74 879s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:75 879s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:76 879s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:77 879s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:78 879s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:79 879s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:80 879s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:81 879s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:82 879s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:83 879s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:84 879s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:85 879s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:86 879s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:87 879s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:88 879s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:89 879s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:90 879s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:91 879s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:92 879s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:93 879s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:94 879s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95 879s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:96 879s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:97 879s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:98 879s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:99 879s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:100 879s # Starting thread pool processing 879s ok 5 /threadpool/sort 879s ok 6 /threadpool/stop-unused-multiple 879s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 879s # Pool idle thread count: 0, unprocessed jobs: 40 880s # Pool idle thread count: 0, unprocessed jobs: 0 880s # Pool idle thread count: 0, unprocessed jobs: 0 880s # Pool idle thread count: 10, unprocessed jobs: 0 880s # Pool idle thread count: 10, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Executing: glib/thread-pool-slow.test 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Executing: glib/thread-pool-slow.test 888s # Pool idle thread count: 10, unprocessed jobs: 2 888s # Pool idle thread count: 8, unprocessed jobs: 0 888s # Pool idle thread count: 8, unprocessed jobs: 0 888s # Pool idle thread count: 8, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 2, unprocessed jobs: 0 890s # Pool idle thread count: 2, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Executing: glib/thread-pool-slow.test 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Executing: glib/thread-pool-slow.test 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 899s ok - glib/thread-pool-slow.test 899s ok 7 /threadpool/idle-time 899s # slow test /threadpool/idle-time executed in 19.52 secs 899s # End of threadpool tests 899s # Running test: glib/closure-refcount.test 899s TAP version 14 899s # random seed: R02Seb90f8e07bedfe2aa3dd939d5fafa7c5 899s 1..1 899s # Start of closure tests 899s # Init 0xb89fc081bd30 899s # Yielding from main thread 899s # Yielding from main thread 899s # Yielding from main thread 899s # Yielding from thread1 899s # Yielding from main thread 899s # Yielding from main thread 899s # Yielding from main thread 899s # Yielding from thread1 899s # Yielding from main thread 899s # Yielding from thread2 899s # Yielding from main thread 899s # Yielding from main thread 899s # Stopping 899s # Stopped 899s ok 1 /closure/refcount 899s # End of closure tests 899s ok - glib/closure-refcount.test 899s # Running test: glib/mkenums.py.test 899s TAP version 13 899s ok 1 __main__.TestMkenums.test_available_in 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmp068d76ck 899s # rspfile: False 899s # /tmp/tmp068d76ck/tmpmt2gh9_e.h: 899s # typedef enum { 899s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 899s # } GDBusServerFlags; 899s # 899s # /tmp/tmp068d76ck/tmpeie2tap_.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp068d76ck/tmpeie2tap_.template', '/tmp/tmp068d76ck/tmpmt2gh9_e.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmp068d76ck/tmpmt2gh9_e.h 899s # basename: tmpmt2gh9_e.h 899s # enumeration-production 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-header 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-production 899s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 899s # valuenick: user 899s # valuenum: 4 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-tail 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 2 __main__.TestMkenums.test_comma_in_enum_value 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmp3p0rbitd 899s # rspfile: False 899s # /tmp/tmp3p0rbitd/tmpbc94sstr.h: 899s # typedef enum { 899s # ENUM_VALUE_WITH_COMMA = ',', 899s # } TestCommaEnum; 899s # 899s # /tmp/tmp3p0rbitd/tmpdibb7052.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3p0rbitd/tmpdibb7052.template', '/tmp/tmp3p0rbitd/tmpbc94sstr.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmp3p0rbitd/tmpbc94sstr.h 899s # basename: tmpbc94sstr.h 899s # enumeration-production 899s # EnumName: TestCommaEnum 899s # enum_name: test_comma_enum 899s # ENUMNAME: TEST_COMMA_ENUM 899s # ENUMSHORT: COMMA_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-header 899s # EnumName: TestCommaEnum 899s # enum_name: test_comma_enum 899s # ENUMNAME: TEST_COMMA_ENUM 899s # ENUMSHORT: COMMA_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-production 899s # VALUENAME: ENUM_VALUE_WITH_COMMA 899s # valuenick: comma 899s # valuenum: 44 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-tail 899s # EnumName: TestCommaEnum 899s # enum_name: test_comma_enum 899s # ENUMNAME: TEST_COMMA_ENUM 899s # ENUMSHORT: COMMA_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 3 __main__.TestMkenums.test_deprecated_in 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmp8sdolu4_ 899s # rspfile: False 899s # /tmp/tmp8sdolu4_/tmpxh9emtug.h: 899s # typedef enum { 899s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 899s # } GDBusServerFlags; 899s # 899s # /tmp/tmp8sdolu4_/tmpvt8z3yf6.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8sdolu4_/tmpvt8z3yf6.template', '/tmp/tmp8sdolu4_/tmpxh9emtug.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmp8sdolu4_/tmpxh9emtug.h 899s # basename: tmpxh9emtug.h 899s # enumeration-production 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-header 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-production 899s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 899s # valuenick: user 899s # valuenum: 4 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-tail 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 4 __main__.TestMkenums.test_deprecated_in_for 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmpt4pyayc2 899s # rspfile: False 899s # /tmp/tmpt4pyayc2/tmpvhzhf9dh.h: 899s # typedef enum { 899s # 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) 899s # } GDBusServerFlags; 899s # 899s # /tmp/tmpt4pyayc2/tmpyt9x4aa9.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt4pyayc2/tmpyt9x4aa9.template', '/tmp/tmpt4pyayc2/tmpvhzhf9dh.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmpt4pyayc2/tmpvhzhf9dh.h 899s # basename: tmpvhzhf9dh.h 899s # enumeration-production 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-header 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-production 899s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 899s # valuenick: user 899s # valuenum: 4 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # value-tail 899s # EnumName: GDBusServerFlags 899s # enum_name: g_dbus_server_flags 899s # ENUMNAME: G_DBUS_SERVER_FLAGS 899s # ENUMSHORT: DBUS_SERVER_FLAGS 899s # ENUMPREFIX: G 899s # enumsince: 899s # type: flags 899s # Type: Flags 899s # TYPE: FLAGS 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 5 __main__.TestMkenums.test_empty_header 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmp_9u435bd 899s # rspfile: False 899s # /tmp/tmp_9u435bd/tmprprzioum.h: 899s # /tmp/tmp_9u435bd/tmp69e6aqvx.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_9u435bd/tmp69e6aqvx.template', '/tmp/tmp_9u435bd/tmprprzioum.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 6 __main__.TestMkenums.test_empty_template 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmpmhdpzn2v 899s # rspfile: False 899s # /tmp/tmpmhdpzn2v/tmp1tuqigrc.template: 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmhdpzn2v/tmp1tuqigrc.template'] 899s # Return code: 0 899s # Output: 899s # /* 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. */ 899s # 899s # 899s # /* Generated data ends here */ 899s # Error: 899s ok 7 __main__.TestMkenums.test_enum_name 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmpc6ojncye 899s # rspfile: False 899s # /tmp/tmpc6ojncye/tmp0sbw07m5.h: 899s # typedef enum _SomeEnumIdentifier { 899s # ENUM_VALUE 899s # } SomeEnumIdentifier; 899s # 899s # /tmp/tmpc6ojncye/tmph0dgkxfu.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpc6ojncye/tmph0dgkxfu.template', '/tmp/tmpc6ojncye/tmp0sbw07m5.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmpc6ojncye/tmp0sbw07m5.h 899s # basename: tmp0sbw07m5.h 899s # enumeration-production 899s # EnumName: SomeEnumIdentifier 899s # enum_name: some_enum_identifier 899s # ENUMNAME: SOME_ENUM_IDENTIFIER 899s # ENUMSHORT: ENUM_IDENTIFIER 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-header 899s # EnumName: SomeEnumIdentifier 899s # enum_name: some_enum_identifier 899s # ENUMNAME: SOME_ENUM_IDENTIFIER 899s # ENUMSHORT: ENUM_IDENTIFIER 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-production 899s # VALUENAME: ENUM_VALUE 899s # valuenick: value 899s # valuenum: 0 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-tail 899s # EnumName: SomeEnumIdentifier 899s # enum_name: some_enum_identifier 899s # ENUMNAME: SOME_ENUM_IDENTIFIER 899s # ENUMSHORT: ENUM_IDENTIFIER 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 8 __main__.TestMkenums.test_enum_private_public 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmpb6uecw5a 899s # rspfile: False 899s # /tmp/tmpb6uecw5a/tmpsc2cmtcd.h: 899s # typedef enum { 899s # ENUM_VALUE_PUBLIC1, 899s # /*< private >*/ 899s # ENUM_VALUE_PRIVATE, 899s # } SomeEnumA 899s # 899s # /tmp/tmpb6uecw5a/tmp9mmqugx6.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb6uecw5a/tmp9mmqugx6.template', '/tmp/tmpb6uecw5a/tmpsc2cmtcd.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmpb6uecw5a/tmpsc2cmtcd.h 899s # basename: tmpsc2cmtcd.h 899s # enumeration-production 899s # EnumName: SomeEnumA 899s # enum_name: some_enum_a 899s # ENUMNAME: SOME_ENUM_A 899s # ENUMSHORT: ENUM_A 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-header 899s # EnumName: SomeEnumA 899s # enum_name: some_enum_a 899s # ENUMNAME: SOME_ENUM_A 899s # ENUMSHORT: ENUM_A 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-production 899s # VALUENAME: ENUM_VALUE_PUBLIC1 899s # valuenick: public1 899s # valuenum: 0 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-tail 899s # EnumName: SomeEnumA 899s # enum_name: some_enum_a 899s # ENUMNAME: SOME_ENUM_A 899s # ENUMSHORT: ENUM_A 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s # 899s # /tmp/tmpb6uecw5a/tmp17vhrqau.h: 899s # typedef enum { 899s # /*< private >*/ 899s # ENUM_VALUE_PRIVATE, 899s # /*< public >*/ 899s # ENUM_VALUE_PUBLIC2, 899s # } SomeEnumB; 899s # 899s # /tmp/tmpb6uecw5a/tmpdnfejrdw.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb6uecw5a/tmpdnfejrdw.template', '/tmp/tmpb6uecw5a/tmp17vhrqau.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmpb6uecw5a/tmp17vhrqau.h 899s # basename: tmp17vhrqau.h 899s # enumeration-production 899s # EnumName: SomeEnumB 899s # enum_name: some_enum_b 899s # ENUMNAME: SOME_ENUM_B 899s # ENUMSHORT: ENUM_B 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-header 899s # EnumName: SomeEnumB 899s # enum_name: some_enum_b 899s # ENUMNAME: SOME_ENUM_B 899s # ENUMSHORT: ENUM_B 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-production 899s # VALUENAME: ENUM_VALUE_PUBLIC2 899s # valuenick: public2 899s # valuenum: 1 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-tail 899s # EnumName: SomeEnumB 899s # enum_name: some_enum_b 899s # ENUMNAME: SOME_ENUM_B 899s # ENUMSHORT: ENUM_B 899s # ENUMPREFIX: SOME 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmp0ev0njy0 899s # rspfile: False 899s # /tmp/tmp0ev0njy0/tmp1_9z7pg3.h: 899s # typedef enum { 899s # /*< private >*/ 899s # ENUM_VALUE_PRIVATE = 5, 899s # /*< public >*/ 899s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 899s # } TestSymbolicEnum; 899s # 899s # /tmp/tmp0ev0njy0/tmprrue2dt2.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN file-production ***/ 899s # file-production 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-production ***/ 899s # 899s # /*** BEGIN enumeration-production ***/ 899s # enumeration-production 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END enumeration-production ***/ 899s # 899s # /*** BEGIN value-header ***/ 899s # value-header 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-header ***/ 899s # 899s # /*** BEGIN value-production ***/ 899s # value-production 899s # VALUENAME: @VALUENAME@ 899s # valuenick: @valuenick@ 899s # valuenum: @valuenum@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-production ***/ 899s # 899s # /*** BEGIN value-tail ***/ 899s # value-tail 899s # EnumName: @EnumName@ 899s # enum_name: @enum_name@ 899s # ENUMNAME: @ENUMNAME@ 899s # ENUMSHORT: @ENUMSHORT@ 899s # ENUMPREFIX: @ENUMPREFIX@ 899s # enumsince: @enumsince@ 899s # type: @type@ 899s # Type: @Type@ 899s # TYPE: @TYPE@ 899s # /*** END value-tail ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # /*** END file-tail ***/ 899s # 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0ev0njy0/tmprrue2dt2.template', '/tmp/tmp0ev0njy0/tmp1_9z7pg3.h'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # file-production 899s # filename: /tmp/tmp0ev0njy0/tmp1_9z7pg3.h 899s # basename: tmp1_9z7pg3.h 899s # enumeration-production 899s # EnumName: TestSymbolicEnum 899s # enum_name: test_symbolic_enum 899s # ENUMNAME: TEST_SYMBOLIC_ENUM 899s # ENUMSHORT: SYMBOLIC_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-header 899s # EnumName: TestSymbolicEnum 899s # enum_name: test_symbolic_enum 899s # ENUMNAME: TEST_SYMBOLIC_ENUM 899s # ENUMSHORT: SYMBOLIC_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-production 899s # VALUENAME: ENUM_VALUE_PUBLIC 899s # valuenick: public 899s # valuenum: 7 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # value-tail 899s # EnumName: TestSymbolicEnum 899s # enum_name: test_symbolic_enum 899s # ENUMNAME: TEST_SYMBOLIC_ENUM 899s # ENUMSHORT: SYMBOLIC_ENUM 899s # ENUMPREFIX: TEST 899s # enumsince: 899s # type: enum 899s # Type: Enum 899s # TYPE: ENUM 899s # file-tail 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 899s # glib-mkenums: /usr/bin/glib-mkenums 899s # tmpdir: /tmp/tmpu1em2loz 899s # rspfile: False 899s # /tmp/tmpu1em2loz/tmpphwkup2h.template: 899s # /*** BEGIN file-header ***/ 899s # file-header 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-header ***/ 899s # 899s # /*** BEGIN comment ***/ 899s # comment 899s # comment: @comment@ 899s # /*** END comment ***/ 899s # 899s # /*** BEGIN file-tail ***/ 899s # file-tail 899s # filename: @filename@ 899s # basename: @basename@ 899s # /*** END file-tail ***/ 899s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpu1em2loz/tmpphwkup2h.template'] 899s # Return code: 0 899s # Output: 899s # comment 899s # 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. 899s # 899s # 899s # file-header 899s # filename: @filename@ 899s # basename: @basename@ 899s # file-tail 899s # filename: @filename@ 899s # basename: @basename@ 899s # 899s # comment 899s # comment: Generated data ends here 899s # Error: 899s # WARNING: @filename@ used in file-header section. 899s # WARNING: @basename@ used in file-header section. 899s # WARNING: @filename@ used in file-tail section. 899s # WARNING: @basename@ used in file-tail section. 900s ok 11 __main__.TestMkenums.test_help 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmplvq1sz6v 900s # rspfile: False 900s # Running: ['/usr/bin/glib-mkenums', '--help'] 900s # Return code: 0 900s # Output: 900s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 900s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 900s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 900s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 900s # [--comments COMMENT_TMPL] [--template TEMPLATE] 900s # [--output OUTPUT] [--version] 900s # [args ...] 900s # 900s # positional arguments: 900s # args One or more input files, or a single argument 900s # @rspfile_path pointing to a file that contains the 900s # actual arguments 900s # 900s # options: 900s # -h, --help show this help message and exit 900s # --identifier-prefix IDPREFIX 900s # Identifier prefix 900s # --symbol-prefix SYMPREFIX 900s # Symbol prefix 900s # --fhead FHEAD Output file header 900s # --ftail FTAIL Output file footer 900s # --fprod FPROD Put out TEXT every time a new input file is being 900s # processed. 900s # --eprod EPROD Per enum text, produced prior to value iterations 900s # --vhead VHEAD Value header, produced before iterating over enum 900s # values 900s # --vprod VPROD Value text, produced for each enum value. 900s # --vtail VTAIL Value tail, produced after iterating over enum values 900s # --comments COMMENT_TMPL 900s # Comment structure 900s # --template TEMPLATE Template file 900s # --output OUTPUT 900s # --version, -v Print version information 900s # 900s # Production text substitutions: 900s # @EnumName@ PrefixTheXEnum 900s # @enum_name@ prefix_the_xenum 900s # @ENUMNAME@ PREFIX_THE_XENUM 900s # @ENUMSHORT@ THE_XENUM 900s # @ENUMPREFIX@ PREFIX 900s # @enumsince@ the user-provided since value given 900s # @VALUENAME@ PREFIX_THE_XVALUE 900s # @valuenick@ the-xvalue 900s # @valuenum@ the integer value (limited support, Since: 2.26) 900s # @type@ either enum or flags 900s # @Type@ either Enum or Flags 900s # @TYPE@ either ENUM or FLAGS 900s # @filename@ name of current input file 900s # @basename@ base name of the current input file (Since: 2.22) 900s # Error: 900s ok 12 __main__.TestMkenums.test_no_args 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpa18hm_v3 900s # rspfile: False 900s # Running: ['/usr/bin/glib-mkenums'] 900s # Return code: 0 900s # Output: 900s # /* 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. */ 900s # 900s # 900s # /* Generated data ends here */ 900s # Error: 900s ok 13 __main__.TestMkenums.test_no_headers 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpbq79cxg6 900s # rspfile: False 900s # /tmp/tmpbq79cxg6/tmpho2broix.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbq79cxg6/tmpho2broix.template'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 14 __main__.TestMkenums.test_no_nick 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpuk2hthyz 900s # rspfile: False 900s # /tmp/tmpuk2hthyz/tmpti81c4b0.h: 900s # typedef enum { 900s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 900s # } GeglSamplerType; 900s # 900s # /tmp/tmpuk2hthyz/tmpvytikxdj.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuk2hthyz/tmpvytikxdj.template', '/tmp/tmpuk2hthyz/tmpti81c4b0.h'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmpuk2hthyz/tmpti81c4b0.h 900s # basename: tmpti81c4b0.h 900s # enumeration-production 900s # EnumName: GeglSamplerType 900s # enum_name: gegl_sampler_type 900s # ENUMNAME: GEGL_SAMPLER_TYPE 900s # ENUMSHORT: SAMPLER_TYPE 900s # ENUMPREFIX: GEGL 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: GeglSamplerType 900s # enum_name: gegl_sampler_type 900s # ENUMNAME: GEGL_SAMPLER_TYPE 900s # ENUMSHORT: SAMPLER_TYPE 900s # ENUMPREFIX: GEGL 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: GEGL_SAMPLER_NEAREST 900s # valuenick: nearest 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: GeglSamplerType 900s # enum_name: gegl_sampler_type 900s # ENUMNAME: GEGL_SAMPLER_TYPE 900s # ENUMSHORT: SAMPLER_TYPE 900s # ENUMPREFIX: GEGL 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 15 __main__.TestMkenums.test_non_utf8_encoding 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpj4_pg1kx 900s # rspfile: False 900s # /tmp/tmpj4_pg1kx/tmpz3rxlock.h: 900s # /* Copyright © La Peña */ 900s # typedef enum { 900s # ENUM_VALUE 900s # } SomeEnumIdentifier; 900s # 900s # /tmp/tmpj4_pg1kx/tmpfhtkz01i.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj4_pg1kx/tmpfhtkz01i.template', '/tmp/tmpj4_pg1kx/tmpz3rxlock.h'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmpj4_pg1kx/tmpz3rxlock.h 900s # basename: tmpz3rxlock.h 900s # enumeration-production 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE 900s # valuenick: value 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 900s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 900s ok 16 __main__.TestMkenums.test_reproducible 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpxnkpaggp 900s # rspfile: False 900s # /tmp/tmpxnkpaggp/tmppay8b246.template: template 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxnkpaggp/tmppay8b246.template', '/tmp/tmpxnkpaggp/tmpk3qrkwp21.h', '/tmp/tmpxnkpaggp/tmpd4rcjpvw2.h'] 900s # Return code: 0 900s # Output: 900s # /* 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. */ 900s # 900s # 900s # /* Generated data ends here */ 900s # Error: 900s # 900s # /tmp/tmpxnkpaggp/tmp_jhjbrhp.template: template 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxnkpaggp/tmp_jhjbrhp.template', '/tmp/tmpxnkpaggp/tmpd4rcjpvw2.h', '/tmp/tmpxnkpaggp/tmpk3qrkwp21.h'] 900s # Return code: 0 900s # Output: 900s # /* 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. */ 900s # 900s # 900s # /* Generated data ends here */ 900s # Error: 900s ok 17 __main__.TestMkenums.test_since 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmplp3x0djr 900s # rspfile: False 900s # /tmp/tmplp3x0djr/tmp7og6ets2.h: 900s # typedef enum { /*< since=1.0 >*/ 900s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 900s # } QmiWmsMessageProtocol; 900s # 900s # /tmp/tmplp3x0djr/tmpms44k72n.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplp3x0djr/tmpms44k72n.template', '/tmp/tmplp3x0djr/tmp7og6ets2.h'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmplp3x0djr/tmp7og6ets2.h 900s # basename: tmp7og6ets2.h 900s # enumeration-production 900s # EnumName: QmiWmsMessageProtocol 900s # enum_name: qmi_wms_message_protocol 900s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 900s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 900s # ENUMPREFIX: QMI 900s # enumsince: 1.0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: QmiWmsMessageProtocol 900s # enum_name: qmi_wms_message_protocol 900s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 900s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 900s # ENUMPREFIX: QMI 900s # enumsince: 1.0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 900s # valuenick: cdma 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: QmiWmsMessageProtocol 900s # enum_name: qmi_wms_message_protocol 900s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 900s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 900s # ENUMPREFIX: QMI 900s # enumsince: 1.0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 18 __main__.TestMkenums.test_with_double_quotes 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp6z_g6ke8 900s # rspfile: False 900s # /tmp/tmp6z_g6ke8/tmpa129amkl.h: 900s # typedef enum { 900s # FOO_VALUE /*< nick="eek, a comma" >*/ 900s # } Foo; 900s # 900s # /tmp/tmp6z_g6ke8/tmpi2a1kkxy.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6z_g6ke8/tmpi2a1kkxy.template', '/tmp/tmp6z_g6ke8/tmpa129amkl.h'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmp6z_g6ke8/tmpa129amkl.h 900s # basename: tmpa129amkl.h 900s # enumeration-production 900s # EnumName: Foo 900s # enum_name: foo_ 900s # ENUMNAME: FOO_ 900s # ENUMSHORT: 900s # ENUMPREFIX: FOO 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: Foo 900s # enum_name: foo_ 900s # ENUMNAME: FOO_ 900s # ENUMSHORT: 900s # ENUMPREFIX: FOO 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: FOO_VALUE 900s # valuenick: eek, a comma 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: Foo 900s # enum_name: foo_ 900s # ENUMNAME: FOO_ 900s # ENUMSHORT: 900s # ENUMPREFIX: FOO 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 19 __main__.TestRspMkenums.test_available_in 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpora57y7z 900s # rspfile: True 900s # /tmp/tmpora57y7z/tmpl1pc8aqa.h: 900s # typedef enum { 900s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 900s # } GDBusServerFlags; 900s # 900s # /tmp/tmpora57y7z/tmpp26aa23w.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmpora57y7z/tmpp26aa23w.template /tmp/tmpora57y7z/tmpl1pc8aqa.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpora57y7z/tmpt7fhb6ox'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmpora57y7z/tmpl1pc8aqa.h 900s # basename: tmpl1pc8aqa.h 900s # enumeration-production 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-header 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-production 900s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 900s # valuenick: user 900s # valuenum: 4 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-tail 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp9h4wm1re 900s # rspfile: True 900s # /tmp/tmp9h4wm1re/tmpi76j3yy0.h: 900s # typedef enum { 900s # ENUM_VALUE_WITH_COMMA = ',', 900s # } TestCommaEnum; 900s # 900s # /tmp/tmp9h4wm1re/tmp9uuxhl8t.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmp9h4wm1re/tmp9uuxhl8t.template /tmp/tmp9h4wm1re/tmpi76j3yy0.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9h4wm1re/tmppus5ltou'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmp9h4wm1re/tmpi76j3yy0.h 900s # basename: tmpi76j3yy0.h 900s # enumeration-production 900s # EnumName: TestCommaEnum 900s # enum_name: test_comma_enum 900s # ENUMNAME: TEST_COMMA_ENUM 900s # ENUMSHORT: COMMA_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: TestCommaEnum 900s # enum_name: test_comma_enum 900s # ENUMNAME: TEST_COMMA_ENUM 900s # ENUMSHORT: COMMA_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE_WITH_COMMA 900s # valuenick: comma 900s # valuenum: 44 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: TestCommaEnum 900s # enum_name: test_comma_enum 900s # ENUMNAME: TEST_COMMA_ENUM 900s # ENUMSHORT: COMMA_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 21 __main__.TestRspMkenums.test_deprecated_in 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpe6xaj01w 900s # rspfile: True 900s # /tmp/tmpe6xaj01w/tmpcyrxo23w.h: 900s # typedef enum { 900s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 900s # } GDBusServerFlags; 900s # 900s # /tmp/tmpe6xaj01w/tmp42cf3ims.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmpe6xaj01w/tmp42cf3ims.template /tmp/tmpe6xaj01w/tmpcyrxo23w.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe6xaj01w/tmpmagbh6nm'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmpe6xaj01w/tmpcyrxo23w.h 900s # basename: tmpcyrxo23w.h 900s # enumeration-production 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-header 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-production 900s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 900s # valuenick: user 900s # valuenum: 4 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-tail 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmppkfsgl7v 900s # rspfile: True 900s # /tmp/tmppkfsgl7v/tmp2jos9wen.h: 900s # typedef enum { 900s # 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) 900s # } GDBusServerFlags; 900s # 900s # /tmp/tmppkfsgl7v/tmp1fep5shz.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmppkfsgl7v/tmp1fep5shz.template /tmp/tmppkfsgl7v/tmp2jos9wen.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppkfsgl7v/tmp2sy5naft'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmppkfsgl7v/tmp2jos9wen.h 900s # basename: tmp2jos9wen.h 900s # enumeration-production 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-header 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-production 900s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 900s # valuenick: user 900s # valuenum: 4 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # value-tail 900s # EnumName: GDBusServerFlags 900s # enum_name: g_dbus_server_flags 900s # ENUMNAME: G_DBUS_SERVER_FLAGS 900s # ENUMSHORT: DBUS_SERVER_FLAGS 900s # ENUMPREFIX: G 900s # enumsince: 900s # type: flags 900s # Type: Flags 900s # TYPE: FLAGS 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 23 __main__.TestRspMkenums.test_empty_header 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpe5ktmty0 900s # rspfile: True 900s # /tmp/tmpe5ktmty0/tmpfv1uqd1d.h: 900s # /tmp/tmpe5ktmty0/tmps4h5tyj6.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmpe5ktmty0/tmps4h5tyj6.template /tmp/tmpe5ktmty0/tmpfv1uqd1d.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe5ktmty0/tmpbd3h2apx'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 24 __main__.TestRspMkenums.test_empty_template 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp2q4gvgd3 900s # rspfile: True 900s # /tmp/tmp2q4gvgd3/tmpjwd4drxr.template: 900s # Response file contains: --template /tmp/tmp2q4gvgd3/tmpjwd4drxr.template 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2q4gvgd3/tmppj1vpnn9'] 900s # Return code: 0 900s # Output: 900s # /* 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. */ 900s # 900s # 900s # /* Generated data ends here */ 900s # Error: 900s ok 25 __main__.TestRspMkenums.test_enum_name 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpyoz8_hth 900s # rspfile: True 900s # /tmp/tmpyoz8_hth/tmpcm_al_b5.h: 900s # typedef enum _SomeEnumIdentifier { 900s # ENUM_VALUE 900s # } SomeEnumIdentifier; 900s # 900s # /tmp/tmpyoz8_hth/tmpvypgs6mt.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmpyoz8_hth/tmpvypgs6mt.template /tmp/tmpyoz8_hth/tmpcm_al_b5.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyoz8_hth/tmp8fuwiu2p'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmpyoz8_hth/tmpcm_al_b5.h 900s # basename: tmpcm_al_b5.h 900s # enumeration-production 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE 900s # valuenick: value 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: SomeEnumIdentifier 900s # enum_name: some_enum_identifier 900s # ENUMNAME: SOME_ENUM_IDENTIFIER 900s # ENUMSHORT: ENUM_IDENTIFIER 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 26 __main__.TestRspMkenums.test_enum_private_public 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp6xroabix 900s # rspfile: True 900s # /tmp/tmp6xroabix/tmpf3pbaqqn.h: 900s # typedef enum { 900s # ENUM_VALUE_PUBLIC1, 900s # /*< private >*/ 900s # ENUM_VALUE_PRIVATE, 900s # } SomeEnumA 900s # 900s # /tmp/tmp6xroabix/tmp7xmt284k.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmp6xroabix/tmp7xmt284k.template /tmp/tmp6xroabix/tmpf3pbaqqn.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6xroabix/tmpzknlfxz5'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmp6xroabix/tmpf3pbaqqn.h 900s # basename: tmpf3pbaqqn.h 900s # enumeration-production 900s # EnumName: SomeEnumA 900s # enum_name: some_enum_a 900s # ENUMNAME: SOME_ENUM_A 900s # ENUMSHORT: ENUM_A 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: SomeEnumA 900s # enum_name: some_enum_a 900s # ENUMNAME: SOME_ENUM_A 900s # ENUMSHORT: ENUM_A 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE_PUBLIC1 900s # valuenick: public1 900s # valuenum: 0 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: SomeEnumA 900s # enum_name: some_enum_a 900s # ENUMNAME: SOME_ENUM_A 900s # ENUMSHORT: ENUM_A 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s # 900s # /tmp/tmp6xroabix/tmpkix6mt0m.h: 900s # typedef enum { 900s # /*< private >*/ 900s # ENUM_VALUE_PRIVATE, 900s # /*< public >*/ 900s # ENUM_VALUE_PUBLIC2, 900s # } SomeEnumB; 900s # 900s # /tmp/tmp6xroabix/tmpaxta39nn.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmp6xroabix/tmpaxta39nn.template /tmp/tmp6xroabix/tmpkix6mt0m.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6xroabix/tmpfcmyon52'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmp6xroabix/tmpkix6mt0m.h 900s # basename: tmpkix6mt0m.h 900s # enumeration-production 900s # EnumName: SomeEnumB 900s # enum_name: some_enum_b 900s # ENUMNAME: SOME_ENUM_B 900s # ENUMSHORT: ENUM_B 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: SomeEnumB 900s # enum_name: some_enum_b 900s # ENUMNAME: SOME_ENUM_B 900s # ENUMSHORT: ENUM_B 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE_PUBLIC2 900s # valuenick: public2 900s # valuenum: 1 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: SomeEnumB 900s # enum_name: some_enum_b 900s # ENUMNAME: SOME_ENUM_B 900s # ENUMSHORT: ENUM_B 900s # ENUMPREFIX: SOME 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp2gibsw2r 900s # rspfile: True 900s # /tmp/tmp2gibsw2r/tmpduuoa7w_.h: 900s # typedef enum { 900s # /*< private >*/ 900s # ENUM_VALUE_PRIVATE = 5, 900s # /*< public >*/ 900s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 900s # } TestSymbolicEnum; 900s # 900s # /tmp/tmp2gibsw2r/tmpyva7raw1.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN file-production ***/ 900s # file-production 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-production ***/ 900s # 900s # /*** BEGIN enumeration-production ***/ 900s # enumeration-production 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END enumeration-production ***/ 900s # 900s # /*** BEGIN value-header ***/ 900s # value-header 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-header ***/ 900s # 900s # /*** BEGIN value-production ***/ 900s # value-production 900s # VALUENAME: @VALUENAME@ 900s # valuenick: @valuenick@ 900s # valuenum: @valuenum@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-production ***/ 900s # 900s # /*** BEGIN value-tail ***/ 900s # value-tail 900s # EnumName: @EnumName@ 900s # enum_name: @enum_name@ 900s # ENUMNAME: @ENUMNAME@ 900s # ENUMSHORT: @ENUMSHORT@ 900s # ENUMPREFIX: @ENUMPREFIX@ 900s # enumsince: @enumsince@ 900s # type: @type@ 900s # Type: @Type@ 900s # TYPE: @TYPE@ 900s # /*** END value-tail ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # /*** END file-tail ***/ 900s # 900s # Response file contains: --template /tmp/tmp2gibsw2r/tmpyva7raw1.template /tmp/tmp2gibsw2r/tmpduuoa7w_.h 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2gibsw2r/tmp7qps2o1r'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # file-production 900s # filename: /tmp/tmp2gibsw2r/tmpduuoa7w_.h 900s # basename: tmpduuoa7w_.h 900s # enumeration-production 900s # EnumName: TestSymbolicEnum 900s # enum_name: test_symbolic_enum 900s # ENUMNAME: TEST_SYMBOLIC_ENUM 900s # ENUMSHORT: SYMBOLIC_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-header 900s # EnumName: TestSymbolicEnum 900s # enum_name: test_symbolic_enum 900s # ENUMNAME: TEST_SYMBOLIC_ENUM 900s # ENUMSHORT: SYMBOLIC_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-production 900s # VALUENAME: ENUM_VALUE_PUBLIC 900s # valuenick: public 900s # valuenum: 7 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # value-tail 900s # EnumName: TestSymbolicEnum 900s # enum_name: test_symbolic_enum 900s # ENUMNAME: TEST_SYMBOLIC_ENUM 900s # ENUMSHORT: SYMBOLIC_ENUM 900s # ENUMPREFIX: TEST 900s # enumsince: 900s # type: enum 900s # Type: Enum 900s # TYPE: ENUM 900s # file-tail 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp05to2u4f 900s # rspfile: True 900s # /tmp/tmp05to2u4f/tmppg2zf3ux.template: 900s # /*** BEGIN file-header ***/ 900s # file-header 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-header ***/ 900s # 900s # /*** BEGIN comment ***/ 900s # comment 900s # comment: @comment@ 900s # /*** END comment ***/ 900s # 900s # /*** BEGIN file-tail ***/ 900s # file-tail 900s # filename: @filename@ 900s # basename: @basename@ 900s # /*** END file-tail ***/ 900s # Response file contains: --template /tmp/tmp05to2u4f/tmppg2zf3ux.template 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp05to2u4f/tmp6db9bgp_'] 900s # Return code: 0 900s # Output: 900s # comment 900s # 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. 900s # 900s # 900s # file-header 900s # filename: @filename@ 900s # basename: @basename@ 900s # file-tail 900s # filename: @filename@ 900s # basename: @basename@ 900s # 900s # comment 900s # comment: Generated data ends here 900s # Error: 900s # WARNING: @filename@ used in file-header section. 900s # WARNING: @basename@ used in file-header section. 900s # WARNING: @filename@ used in file-tail section. 900s # WARNING: @basename@ used in file-tail section. 900s ok 29 __main__.TestRspMkenums.test_help 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmpicvy90qc 900s # rspfile: True 900s # Response file contains: --help 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpicvy90qc/tmpe9tlups4'] 900s # Return code: 0 900s # Output: 900s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 900s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 900s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 900s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 900s # [--comments COMMENT_TMPL] [--template TEMPLATE] 900s # [--output OUTPUT] [--version] 900s # [args ...] 900s # 900s # positional arguments: 900s # args One or more input files, or a single argument 900s # @rspfile_path pointing to a file that contains the 900s # actual arguments 900s # 900s # options: 900s # -h, --help show this help message and exit 900s # --identifier-prefix IDPREFIX 900s # Identifier prefix 900s # --symbol-prefix SYMPREFIX 900s # Symbol prefix 900s # --fhead FHEAD Output file header 900s # --ftail FTAIL Output file footer 900s # --fprod FPROD Put out TEXT every time a new input file is being 900s # processed. 900s # --eprod EPROD Per enum text, produced prior to value iterations 900s # --vhead VHEAD Value header, produced before iterating over enum 900s # values 900s # --vprod VPROD Value text, produced for each enum value. 900s # --vtail VTAIL Value tail, produced after iterating over enum values 900s # --comments COMMENT_TMPL 900s # Comment structure 900s # --template TEMPLATE Template file 900s # --output OUTPUT 900s # --version, -v Print version information 900s # 900s # Production text substitutions: 900s # @EnumName@ PrefixTheXEnum 900s # @enum_name@ prefix_the_xenum 900s # @ENUMNAME@ PREFIX_THE_XENUM 900s # @ENUMSHORT@ THE_XENUM 900s # @ENUMPREFIX@ PREFIX 900s # @enumsince@ the user-provided since value given 900s # @VALUENAME@ PREFIX_THE_XVALUE 900s # @valuenick@ the-xvalue 900s # @valuenum@ the integer value (limited support, Since: 2.26) 900s # @type@ either enum or flags 900s # @Type@ either Enum or Flags 900s # @TYPE@ either ENUM or FLAGS 900s # @filename@ name of current input file 900s # @basename@ base name of the current input file (Since: 2.22) 900s # Error: 900s ok 30 __main__.TestRspMkenums.test_no_args 900s # glib-mkenums: /usr/bin/glib-mkenums 900s # tmpdir: /tmp/tmp4dyqh4t1 900s # rspfile: True 900s # Response file contains: 900s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4dyqh4t1/tmpag7pr53j'] 900s # Return code: 0 900s # Output: 900s # /* 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. */ 900s # 900s # 900s # /* Generated data ends here */ 900s # Error: 901s ok 31 __main__.TestRspMkenums.test_no_headers 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmp0b4wv0rz 901s # rspfile: True 901s # /tmp/tmp0b4wv0rz/tmp99m7qv9m.template: 901s # /*** BEGIN file-header ***/ 901s # file-header 901s # /*** END file-header ***/ 901s # 901s # /*** BEGIN file-production ***/ 901s # file-production 901s # filename: @filename@ 901s # basename: @basename@ 901s # /*** END file-production ***/ 901s # 901s # /*** BEGIN enumeration-production ***/ 901s # enumeration-production 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END enumeration-production ***/ 901s # 901s # /*** BEGIN value-header ***/ 901s # value-header 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-header ***/ 901s # 901s # /*** BEGIN value-production ***/ 901s # value-production 901s # VALUENAME: @VALUENAME@ 901s # valuenick: @valuenick@ 901s # valuenum: @valuenum@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-production ***/ 901s # 901s # /*** BEGIN value-tail ***/ 901s # value-tail 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-tail ***/ 901s # 901s # /*** BEGIN comment ***/ 901s # comment 901s # comment: @comment@ 901s # /*** END comment ***/ 901s # 901s # /*** BEGIN file-tail ***/ 901s # file-tail 901s # /*** END file-tail ***/ 901s # 901s # Response file contains: --template /tmp/tmp0b4wv0rz/tmp99m7qv9m.template 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0b4wv0rz/tmpik54usp0'] 901s # Return code: 0 901s # Output: 901s # comment 901s # 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. 901s # 901s # 901s # file-header 901s # file-tail 901s # 901s # comment 901s # comment: Generated data ends here 901s # Error: 901s ok 32 __main__.TestRspMkenums.test_no_nick 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmp9mjmwpm1 901s # rspfile: True 901s # /tmp/tmp9mjmwpm1/tmpcb6adj8y.h: 901s # typedef enum { 901s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 901s # } GeglSamplerType; 901s # 901s # /tmp/tmp9mjmwpm1/tmpl01rnir3.template: 901s # /*** BEGIN file-header ***/ 901s # file-header 901s # /*** END file-header ***/ 901s # 901s # /*** BEGIN file-production ***/ 901s # file-production 901s # filename: @filename@ 901s # basename: @basename@ 901s # /*** END file-production ***/ 901s # 901s # /*** BEGIN enumeration-production ***/ 901s # enumeration-production 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END enumeration-production ***/ 901s # 901s # /*** BEGIN value-header ***/ 901s # value-header 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-header ***/ 901s # 901s # /*** BEGIN value-production ***/ 901s # value-production 901s # VALUENAME: @VALUENAME@ 901s # valuenick: @valuenick@ 901s # valuenum: @valuenum@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-production ***/ 901s # 901s # /*** BEGIN value-tail ***/ 901s # value-tail 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-tail ***/ 901s # 901s # /*** BEGIN comment ***/ 901s # comment 901s # comment: @comment@ 901s # /*** END comment ***/ 901s # 901s # /*** BEGIN file-tail ***/ 901s # file-tail 901s # /*** END file-tail ***/ 901s # 901s # Response file contains: --template /tmp/tmp9mjmwpm1/tmpl01rnir3.template /tmp/tmp9mjmwpm1/tmpcb6adj8y.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9mjmwpm1/tmp84gfl60q'] 901s # Return code: 0 901s # Output: 901s # comment 901s # 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. 901s # 901s # 901s # file-header 901s # file-production 901s # filename: /tmp/tmp9mjmwpm1/tmpcb6adj8y.h 901s # basename: tmpcb6adj8y.h 901s # enumeration-production 901s # EnumName: GeglSamplerType 901s # enum_name: gegl_sampler_type 901s # ENUMNAME: GEGL_SAMPLER_TYPE 901s # ENUMSHORT: SAMPLER_TYPE 901s # ENUMPREFIX: GEGL 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-header 901s # EnumName: GeglSamplerType 901s # enum_name: gegl_sampler_type 901s # ENUMNAME: GEGL_SAMPLER_TYPE 901s # ENUMSHORT: SAMPLER_TYPE 901s # ENUMPREFIX: GEGL 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-production 901s # VALUENAME: GEGL_SAMPLER_NEAREST 901s # valuenick: nearest 901s # valuenum: 0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-tail 901s # EnumName: GeglSamplerType 901s # enum_name: gegl_sampler_type 901s # ENUMNAME: GEGL_SAMPLER_TYPE 901s # ENUMSHORT: SAMPLER_TYPE 901s # ENUMPREFIX: GEGL 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # file-tail 901s # 901s # comment 901s # comment: Generated data ends here 901s # Error: 901s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmpsikhkinj 901s # rspfile: True 901s # /tmp/tmpsikhkinj/tmp03r8l68e.h: 901s # /* Copyright © La Peña */ 901s # typedef enum { 901s # ENUM_VALUE 901s # } SomeEnumIdentifier; 901s # 901s # /tmp/tmpsikhkinj/tmpjhm6fsip.template: 901s # /*** BEGIN file-header ***/ 901s # file-header 901s # /*** END file-header ***/ 901s # 901s # /*** BEGIN file-production ***/ 901s # file-production 901s # filename: @filename@ 901s # basename: @basename@ 901s # /*** END file-production ***/ 901s # 901s # /*** BEGIN enumeration-production ***/ 901s # enumeration-production 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END enumeration-production ***/ 901s # 901s # /*** BEGIN value-header ***/ 901s # value-header 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-header ***/ 901s # 901s # /*** BEGIN value-production ***/ 901s # value-production 901s # VALUENAME: @VALUENAME@ 901s # valuenick: @valuenick@ 901s # valuenum: @valuenum@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-production ***/ 901s # 901s # /*** BEGIN value-tail ***/ 901s # value-tail 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-tail ***/ 901s # 901s # /*** BEGIN comment ***/ 901s # comment 901s # comment: @comment@ 901s # /*** END comment ***/ 901s # 901s # /*** BEGIN file-tail ***/ 901s # file-tail 901s # /*** END file-tail ***/ 901s # 901s # Response file contains: --template /tmp/tmpsikhkinj/tmpjhm6fsip.template /tmp/tmpsikhkinj/tmp03r8l68e.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsikhkinj/tmpg9wad6xa'] 901s # Return code: 0 901s # Output: 901s # comment 901s # 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. 901s # 901s # 901s # file-header 901s # file-production 901s # filename: /tmp/tmpsikhkinj/tmp03r8l68e.h 901s # basename: tmp03r8l68e.h 901s # enumeration-production 901s # EnumName: SomeEnumIdentifier 901s # enum_name: some_enum_identifier 901s # ENUMNAME: SOME_ENUM_IDENTIFIER 901s # ENUMSHORT: ENUM_IDENTIFIER 901s # ENUMPREFIX: SOME 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-header 901s # EnumName: SomeEnumIdentifier 901s # enum_name: some_enum_identifier 901s # ENUMNAME: SOME_ENUM_IDENTIFIER 901s # ENUMSHORT: ENUM_IDENTIFIER 901s # ENUMPREFIX: SOME 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-production 901s # VALUENAME: ENUM_VALUE 901s # valuenick: value 901s # valuenum: 0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-tail 901s # EnumName: SomeEnumIdentifier 901s # enum_name: some_enum_identifier 901s # ENUMNAME: SOME_ENUM_IDENTIFIER 901s # ENUMSHORT: ENUM_IDENTIFIER 901s # ENUMPREFIX: SOME 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # file-tail 901s # 901s # comment 901s # comment: Generated data ends here 901s # Error: 901s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 901s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 901s ok 34 __main__.TestRspMkenums.test_reproducible 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmpolikt0i3 901s # rspfile: True 901s # /tmp/tmpolikt0i3/tmp47ok77l8.template: template 901s # Response file contains: --template /tmp/tmpolikt0i3/tmp47ok77l8.template /tmp/tmpolikt0i3/tmpxt2fw7o91.h /tmp/tmpolikt0i3/tmpma5ddz1b2.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpolikt0i3/tmp_m4i1vzd'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # 901s # 901s # /* Generated data ends here */ 901s # Error: 901s # 901s # /tmp/tmpolikt0i3/tmpt5b448sb.template: template 901s # Response file contains: --template /tmp/tmpolikt0i3/tmpt5b448sb.template /tmp/tmpolikt0i3/tmpma5ddz1b2.h /tmp/tmpolikt0i3/tmpxt2fw7o91.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpolikt0i3/tmpdik05u7f'] 901s # Return code: 0 901s # Output: 901s # /* 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. */ 901s # 901s # 901s # /* Generated data ends here */ 901s # Error: 901s ok 35 __main__.TestRspMkenums.test_since 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmpjw304x84 901s # rspfile: True 901s # /tmp/tmpjw304x84/tmphs2g18e3.h: 901s # typedef enum { /*< since=1.0 >*/ 901s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 901s # } QmiWmsMessageProtocol; 901s # 901s # /tmp/tmpjw304x84/tmpzca2oopg.template: 901s # /*** BEGIN file-header ***/ 901s # file-header 901s # /*** END file-header ***/ 901s # 901s # /*** BEGIN file-production ***/ 901s # file-production 901s # filename: @filename@ 901s # basename: @basename@ 901s # /*** END file-production ***/ 901s # 901s # /*** BEGIN enumeration-production ***/ 901s # enumeration-production 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END enumeration-production ***/ 901s # 901s # /*** BEGIN value-header ***/ 901s # value-header 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-header ***/ 901s # 901s # /*** BEGIN value-production ***/ 901s # value-production 901s # VALUENAME: @VALUENAME@ 901s # valuenick: @valuenick@ 901s # valuenum: @valuenum@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-production ***/ 901s # 901s # /*** BEGIN value-tail ***/ 901s # value-tail 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-tail ***/ 901s # 901s # /*** BEGIN comment ***/ 901s # comment 901s # comment: @comment@ 901s # /*** END comment ***/ 901s # 901s # /*** BEGIN file-tail ***/ 901s # file-tail 901s # /*** END file-tail ***/ 901s # 901s # Response file contains: --template /tmp/tmpjw304x84/tmpzca2oopg.template /tmp/tmpjw304x84/tmphs2g18e3.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjw304x84/tmpblnwh61p'] 901s # Return code: 0 901s # Output: 901s # comment 901s # 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. 901s # 901s # 901s # file-header 901s # file-production 901s # filename: /tmp/tmpjw304x84/tmphs2g18e3.h 901s # basename: tmphs2g18e3.h 901s # enumeration-production 901s # EnumName: QmiWmsMessageProtocol 901s # enum_name: qmi_wms_message_protocol 901s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 901s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 901s # ENUMPREFIX: QMI 901s # enumsince: 1.0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-header 901s # EnumName: QmiWmsMessageProtocol 901s # enum_name: qmi_wms_message_protocol 901s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 901s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 901s # ENUMPREFIX: QMI 901s # enumsince: 1.0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-production 901s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 901s # valuenick: cdma 901s # valuenum: 0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-tail 901s # EnumName: QmiWmsMessageProtocol 901s # enum_name: qmi_wms_message_protocol 901s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 901s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 901s # ENUMPREFIX: QMI 901s # enumsince: 1.0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # file-tail 901s # 901s # comment 901s # comment: Generated data ends here 901s # Error: 901s ok 36 __main__.TestRspMkenums.test_with_double_quotes 901s # glib-mkenums: /usr/bin/glib-mkenums 901s # tmpdir: /tmp/tmptwhxddrs 901s # rspfile: True 901s # /tmp/tmptwhxddrs/tmpvclq8yyj.h: 901s # typedef enum { 901s # FOO_VALUE /*< nick="eek, a comma" >*/ 901s # } Foo; 901s # 901s # /tmp/tmptwhxddrs/tmp5dwhriwk.template: 901s # /*** BEGIN file-header ***/ 901s # file-header 901s # /*** END file-header ***/ 901s # 901s # /*** BEGIN file-production ***/ 901s # file-production 901s # filename: @filename@ 901s # basename: @basename@ 901s # /*** END file-production ***/ 901s # 901s # /*** BEGIN enumeration-production ***/ 901s # enumeration-production 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END enumeration-production ***/ 901s # 901s # /*** BEGIN value-header ***/ 901s # value-header 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-header ***/ 901s # 901s # /*** BEGIN value-production ***/ 901s # value-production 901s # VALUENAME: @VALUENAME@ 901s # valuenick: @valuenick@ 901s # valuenum: @valuenum@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-production ***/ 901s # 901s # /*** BEGIN value-tail ***/ 901s # value-tail 901s # EnumName: @EnumName@ 901s # enum_name: @enum_name@ 901s # ENUMNAME: @ENUMNAME@ 901s # ENUMSHORT: @ENUMSHORT@ 901s # ENUMPREFIX: @ENUMPREFIX@ 901s # enumsince: @enumsince@ 901s # type: @type@ 901s # Type: @Type@ 901s # TYPE: @TYPE@ 901s # /*** END value-tail ***/ 901s # 901s # /*** BEGIN comment ***/ 901s # comment 901s # comment: @comment@ 901s # /*** END comment ***/ 901s # 901s # /*** BEGIN file-tail ***/ 901s # file-tail 901s # /*** END file-tail ***/ 901s # 901s # Response file contains: --template /tmp/tmptwhxddrs/tmp5dwhriwk.template /tmp/tmptwhxddrs/tmpvclq8yyj.h 901s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptwhxddrs/tmp2q54yqb3'] 901s # Return code: 0 901s # Output: 901s # comment 901s # 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. 901s # 901s # 901s # file-header 901s # file-production 901s # filename: /tmp/tmptwhxddrs/tmpvclq8yyj.h 901s # basename: tmpvclq8yyj.h 901s # enumeration-production 901s # EnumName: Foo 901s # enum_name: foo_ 901s # ENUMNAME: FOO_ 901s # ENUMSHORT: 901s # ENUMPREFIX: FOO 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-header 901s # EnumName: Foo 901s # enum_name: foo_ 901s # ENUMNAME: FOO_ 901s # ENUMSHORT: 901s # ENUMPREFIX: FOO 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-production 901s # VALUENAME: FOO_VALUE 901s # valuenick: eek, a comma 901s # valuenum: 0 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # value-tail 901s # EnumName: Foo 901s # enum_name: foo_ 901s # ENUMNAME: FOO_ 901s # ENUMSHORT: 901s # ENUMPREFIX: FOO 901s # enumsince: 901s # type: enum 901s # Type: Enum 901s # TYPE: ENUM 901s # file-tail 901s # 901s # comment 901s # comment: Generated data ends here 901s # Error: 901s 1..36 901s ok - glib/mkenums.py.test 901s # Running test: glib/vfs.test 901s TAP version 14 901s # random seed: R02S22516cc789c35dbadf1fcc693faded1d 901s 1..3 901s # Start of gvfs tests 901s ok 1 /gvfs/local 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 901s ok 2 /gvfs/register-scheme 901s # Start of resource tests 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 901s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 901s ok 3 /gvfs/resource/malformed-escaping 901s # End of resource tests 901s # End of gvfs tests 901s ok - glib/vfs.test 901s # Running test: glib/cache.test 901s ok - glib/cache.test 901s TAP version 14 901s # random seed: R02Sf0163c0b68c57a78db5847ce8a8cde83 901s 1..1 901s # Start of cache tests 901s ok 1 /cache/basic 901s # End of cache tests 901s TAP version 14 901s # random seed: R02S5336b2ba82c4eef3057e1640dfbd3aaf 901s 1..12 901s # Start of queue tests 901s ok 1 /queue/basic 901s # Running test: glib/queue.test 901s ok 2 /queue/copy 901s ok 3 /queue/off-by-one 901s ok 4 /queue/find-custom 901s ok 5 /queue/static 901s ok 6 /queue/clear 901s ok 7 /queue/free-full 901s ok 8 /queue/clear-full 901s ok 9 /queue/insert-sibling-link 901s ok 10 /queue/push-nth-link 901s # Start of clear-full tests 901s ok 11 /queue/clear-full/noop 901s # End of clear-full tests 901s # Start of random tests 901s ok 12 /queue/random/seed:1049941614 901s # End of random tests 901s # End of queue tests 901s ok - glib/queue.test 901s # Running test: glib/socket-listener.test 901s TAP version 14 901s # random seed: R02Sad09e4ce7ecf9f86aa5c02e4beb785c7 901s 1..1 901s # Start of socket-listener tests 901s ok 1 /socket-listener/event-signal 901s # End of socket-listener tests 901s ok - glib/socket-listener.test 901s # Running test: glib/gdbus-auth.test 901s TAP version 14 901s # random seed: R02Sa33ff70d4f1806a7f53ef9c56c937604 901s 1..5 901s # Start of gdbus tests 901s # Start of auth tests 901s # Start of client tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/EXTERNAL/.dirs/runtime 901s ok 1 /gdbus/auth/client/EXTERNAL 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 901s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 901s # End of client tests 901s # Start of server tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/ANONYMOUS/.dirs/runtime 901s ok 3 /gdbus/auth/server/ANONYMOUS 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/EXTERNAL/.dirs/runtime 901s ok 4 /gdbus/auth/server/EXTERNAL 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_XP0Q52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 901s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 901s # End of server tests 901s # End of auth tests 901s # End of gdbus tests 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 901s ok - glib/gdbus-auth.test 901s # Running test: glib/gdbus-sasl.test 901s TAP version 14 901s # random seed: R02Sad9286239262b57bb920749fa69c7e1b 901s 1..1 901s # Start of gdbus tests 901s # Start of sasl tests 901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/home 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/cache 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/system-config2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/config 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/system-data2 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/data 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/state 901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_CTDR52/gdbus/sasl/server/.dirs/runtime 901s # New handshake: EXTERNAL with incorrect initial response 901s # C:“AUTH EXTERNAL 30†901s # Expect: /^REJECTED.*$/ 901s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†901s # New handshake: EXTERNAL without initial response, failing to authenticate 901s # C:“AUTH EXTERNAL†901s # Expect: /^DATA$/ 901s # S:“DATA†901s # C:“DATA 30†901s # Expect: /^REJECTED.*$/ 901s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†901s # New handshake: EXTERNAL with initial response 901s # C:“AUTH EXTERNAL 31303030†901s # Expect: /^OK [0-9a-f]+$/ 901s # S:“OK 1a3786669da889870de0e2fc681531de†901s # New handshake: EXTERNAL without initial response 901s # C:“AUTH EXTERNAL†901s # Expect: /^DATA$/ 901s # S:“DATA†901s # C:“DATA 31303030†901s # Expect: /^OK [0-9a-f]+$/ 901s # S:“OK 1a3786669da889870de0e2fc681531de†901s # New handshake: EXTERNAL with empty authorization identity 901s # C:“AUTH EXTERNAL†901s # Expect: /^DATA$/ 901s # S:“DATA†901s # C:“DATA†901s # Expect: /^OK [0-9a-f]+$/ 901s # S:“OK 1a3786669da889870de0e2fc681531de†901s # New handshake: EXTERNAL with empty authorization identity and whitespace 901s # C:“AUTH EXTERNAL†901s # Expect: /^DATA$/ 901s # S:“DATA†901s # C:“DATA †901s # Expect: /^OK [0-9a-f]+$/ 901s # S:“OK 1a3786669da889870de0e2fc681531de†901s ok 1 /gdbus/sasl/server 901s # End of sasl tests 901s # End of gdbus tests 901s ok - glib/gdbus-sasl.test 901s # Running test: glib/utils-c-11.test 901s TAP version 14 901s # random seed: R02S26a985a422ad3f99196d61c0c916a94e 901s 1..41 901s # Start of utils tests 901s ok 1 /utils/language-names 901s ok 2 /utils/locale-variants 901s ok 3 /utils/version 901s ok 4 /utils/appname 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 901s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 901s ok 5 /utils/prgname-thread-safety 901s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 901s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 901s ok 6 /utils/tmpdir 901s ok 7 /utils/basic_bits 901s ok 8 /utils/bits 901s ok 9 /utils/swap 901s ok 10 /utils/find-program 901s ok 11 /utils/find-program-for-path 901s ok 12 /utils/debug 901s ok 13 /utils/codeset 901s ok 14 /utils/codeset2 901s ok 15 /utils/console-charset 901s ok 16 /utils/gettext 901s ok 17 /utils/username 901s ok 18 /utils/realname 901s ok 19 /utils/hostname 901s ok 20 /utils/xdgdirs 901s ok 21 /utils/specialdir 901s # NAME: Ubuntu 901s ok 22 /utils/os-info 901s ok 23 /utils/clear-pointer 901s ok 24 /utils/clear-pointer-cast 901s ok 25 /utils/take-pointer 901s ok 26 /utils/clear-source 901s ok 27 /utils/misc-mem 901s # /utils/aligned-mem summary: Aligned memory allocator 901s # Alignment must not be zero 901s # Alignment must be a power of two 901s # Alignment must be a multiple of sizeof(void*) 901s ok 28 /utils/aligned-mem 901s # /utils/free-sized summary: Check that g_free_sized() works 901s ok 29 /utils/free-sized 901s ok 30 /utils/nullify 901s ok 31 /utils/atexit 901s ok 32 /utils/check-setuid 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 901s ok 33 /utils/int-limits 901s ok 34 /utils/clear-list 901s ok 35 /utils/clear-slist 901s ok 36 /utils/steal-handle-id 901s # Start of specialdir tests 901s ok 37 /utils/specialdir/desktop 901s # End of specialdir tests 901s # Start of clear-pointer tests 901s ok 38 /utils/clear-pointer/side-effects 901s # End of clear-pointer tests 901s # Start of aligned-mem tests 901s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 901s ok 39 /utils/aligned-mem/alignment 901s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 901s ok 40 /utils/aligned-mem/zeroed 901s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 901s ok 41 /utils/aligned-mem/free-sized 901s # Start of subprocess tests 901s # End of subprocess tests 901s # End of aligned-mem tests 901s # End of utils tests 901s ok - glib/utils-c-11.test 901s # Running test: glib/cxx-20.test 901s TAP version 14 901s # random seed: R02Sdc297303a81207ebfce576bd8321757e 901s 1..2 901s # Start of gtask tests 901s # 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. 901s ok 1 /gtask/name 901s # Start of name tests 901s # 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. 901s ok 2 /gtask/name/macro-wrapper 901s # End of name tests 901s # End of gtask tests 901s ok - glib/cxx-20.test 901s # Running test: glib/portal-support-env-var.test 901s TAP version 14 901s # random seed: R02S54925851bb03a878ad3eef7daa57e8a6 901s 1..1 901s # Start of portal-support tests 901s ok 1 /portal-support/env-var 901s # End of portal-support tests 901s ok - glib/portal-support-env-var.test 901s # Running test: glib/node.test 901s TAP version 14 901s # random seed: R02Sf4017496ae618567a5fd91d83ab72b7a 901s 1..6 901s # Start of node tests 901s ok 1 /node/allocation 901s ok 2 /node/construction 901s ok 3 /node/traversal 901s ok 4 /node/misc 901s ok 5 /node/unlink 901s ok 6 /node/copy 901s # End of node tests 901s ok - glib/node.test 901s # Running test: glib/power-profile-monitor.test 901s TAP version 14 901s # random seed: R02Sb6990107d17385aeab1e2b07f303f839 901s 1..1 901s # Start of power-profile-monitor tests 901s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 901s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 901s ok 1 /power-profile-monitor/default 901s # End of power-profile-monitor tests 901s ok - glib/power-profile-monitor.test 901s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=190.1s; system=66.4s; maxrss=300600 901s autopkgtest [20:58:06]: test installed-tests: -----------------------] 902s autopkgtest [20:58:07]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 902s installed-tests PASS 902s autopkgtest [20:58:07]: test closure-refcount: preparing testbed 902s Reading package lists... 903s Building dependency tree... 903s Reading state information... 903s Starting pkgProblemResolver with broken count: 0 903s Starting 2 pkgProblemResolver with broken count: 0 903s Done 904s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 905s autopkgtest [20:58:10]: test closure-refcount: [----------------------- 905s Running test: glib/closure-refcount.test 905s TAP version 14 905s # random seed: R02Sf1fc7bf00abae36e1c9b47009c8a1ba0 905s 1..1 905s # Start of closure tests 905s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 905s # End of closure tests 905s PASS: glib/closure-refcount.test 905s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3216 905s autopkgtest [20:58:10]: test closure-refcount: -----------------------] 905s autopkgtest [20:58:10]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 905s closure-refcount PASS 906s autopkgtest [20:58:11]: test debugcontroller: preparing testbed 906s Reading package lists... 906s Building dependency tree... 906s Reading state information... 906s Starting pkgProblemResolver with broken count: 0 907s Starting 2 pkgProblemResolver with broken count: 0 907s Done 907s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 908s autopkgtest [20:58:13]: test debugcontroller: [----------------------- 908s Running test: glib/debugcontroller.test 908s TAP version 14 908s # random seed: R02Sb614304c7b5efcf4cd5cac1312d867c0 908s 1..3 908s # Start of debug-controller tests 908s # Start of dbus tests 908s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 908s # GLib-GIO-DEBUG: Debug output enabled 908s # GLib-GIO-DEBUG: Debug output disabled 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s ok 1 /debug-controller/dbus/basic 908s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s ok 2 /debug-controller/dbus/duplicate 908s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 908s # GLib-GIO-DEBUG: Debug output enabled 908s # GLib-GIO-DEBUG: Debug output disabled 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s ok 3 /debug-controller/dbus/properties 908s # End of dbus tests 908s # End of debug-controller tests 908s PASS: glib/debugcontroller.test 908s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5988 908s autopkgtest [20:58:13]: test debugcontroller: -----------------------] 909s autopkgtest [20:58:14]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 909s debugcontroller PASS 909s autopkgtest [20:58:14]: test gdbus-server-auth: preparing testbed 909s Reading package lists... 909s Building dependency tree... 909s Reading state information... 910s Starting pkgProblemResolver with broken count: 0 910s Starting 2 pkgProblemResolver with broken count: 0 910s Done 911s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 911s autopkgtest [20:58:16]: test gdbus-server-auth: [----------------------- 912s Running test: glib/gdbus-server-auth.test 912s TAP version 14 912s # random seed: R02Sbff97b865785da03fd1db445459f13e6 912s 1..9 912s # Start of gdbus tests 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/.dirs/runtime 912s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-LZE252 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 912s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-LZE252/dbus-i2syAT6P 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 912s ok 1 /gdbus/server-auth 912s # Start of server-auth tests 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/abstract/.dirs/runtime 912s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-YD7152 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 912s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-YD7152/dbus-elGESwKk 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 912s ok 2 /gdbus/server-auth/abstract 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/tcp/.dirs/runtime 912s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 912s # Connectable address: tcp:host=127.0.0.1,port=42865 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 912s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 912s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 912s ok 3 /gdbus/server-auth/tcp 912s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/.dirs/runtime 912s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-AV3A62 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 912s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-AV3A62/dbus-yNYfkjHQ 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 912s ok 4 /gdbus/server-auth/anonymous 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/.dirs/runtime 912s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-G1KB62 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 912s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-G1KB62/dbus-ltH1FtgC 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 912s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 912s ok 5 /gdbus/server-auth/external 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/.dirs/runtime 912s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-83BB62 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 912s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-83BB62/dbus-1hfuDnk5 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 912s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 912s ok 6 /gdbus/server-auth/sha1 912s # Start of anonymous tests 912s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/home 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/cache 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/config 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/data 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/state 912s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/anonymous/tcp/.dirs/runtime 912s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 912s # Connectable address: tcp:host=127.0.0.1,port=45235 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 912s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 912s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 912s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 912s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 912s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 913s ok 7 /gdbus/server-auth/anonymous/tcp 913s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 913s # End of anonymous tests 913s # Start of external tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/external/require-same-user/.dirs/runtime 913s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-60I852 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 913s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFE252/gdbus-server-auth-60I852/dbus-tPAPcE2k 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16269 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 913s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16269,uid=1000,gid=1000 913s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16269 913s ok 8 /gdbus/server-auth/external/require-same-user 913s # End of external tests 913s # Start of sha1 tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFE252/gdbus/server-auth/sha1/tcp/.dirs/runtime 913s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 913s # Connectable address: tcp:host=127.0.0.1,port=36741 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 913s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 913s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 913s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 913s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 913s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 914s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 914s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 914s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 914s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 914s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 914s ok 9 /gdbus/server-auth/sha1/tcp 914s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 914s # End of sha1 tests 914s # End of server-auth tests 914s # End of gdbus tests 914s PASS: glib/gdbus-server-auth.test 914s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8020 914s autopkgtest [20:58:19]: test gdbus-server-auth: -----------------------] 915s gdbus-server-auth PASS 915s autopkgtest [20:58:20]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 915s autopkgtest [20:58:20]: test gdbus-threading: preparing testbed 915s Reading package lists... 916s Building dependency tree... 916s Reading state information... 916s Starting pkgProblemResolver with broken count: 0 916s Starting 2 pkgProblemResolver with broken count: 0 916s Done 917s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 918s autopkgtest [20:58:23]: test gdbus-threading: [----------------------- 918s Running test: glib/gdbus-threading.test 918s TAP version 14 918s # random seed: R02Sff6da101ffe1e742aafe32b652917385 918s 1..3 918s # Start of gdbus tests 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NEBW52/gdbus/delivery-in-thread/.dirs/runtime 918s ok 1 /gdbus/delivery-in-thread 918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/home 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/cache 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/system-config2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/config 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/system-data2 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/data 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/state 918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NEBW52/gdbus/method-calls-in-thread/.dirs/runtime 919s ok 2 /gdbus/method-calls-in-thread 919s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NEBW52/gdbus/threaded-singleton/.dirs/runtime 919s # GLib-GIO-DEBUG: refcount of 0xf391a8005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 919s # GLib-GIO-DEBUG: refcount of 0xf391a8005860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 919s # GLib-GIO-DEBUG: refcount of 0xf391a8000d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 919s # GLib-GIO-DEBUG: refcount of 0xf391a80009f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 919s # GLib-GIO-DEBUG: refcount of 0xf391a8000d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 919s ok 3 /gdbus/threaded-singleton 919s # slow test /gdbus/threaded-singleton executed in 0.81 secs 919s # End of gdbus tests 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s PASS: glib/gdbus-threading.test 919s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=5884 920s autopkgtest [20:58:25]: test gdbus-threading: -----------------------] 920s autopkgtest [20:58:25]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 920s gdbus-threading PASS 920s autopkgtest [20:58:25]: test gmenumodel: preparing testbed 921s 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 922s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 923s autopkgtest [20:58:28]: test gmenumodel: [----------------------- 923s Running test: glib/gmenumodel.test 923s TAP version 14 923s # random seed: R02Se440f5c73cbd1c3a62f8c31e4ae30116 923s 1..15 923s # Start of gmenu tests 923s ok 1 /gmenu/equality 923s # slow test /gmenu/equality executed in 0.53 secs 924s ok 2 /gmenu/random 924s # slow test /gmenu/random executed in 0.67 secs 924s ok 3 /gmenu/attributes 924s ok 4 /gmenu/links 924s ok 5 /gmenu/mutable 924s ok 6 /gmenu/convenience 924s ok 7 /gmenu/menuitem 924s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 924s ok 8 /gmenu/input-validation 924s # Start of dbus tests 925s ok 9 /gmenu/dbus/roundtrip 925s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 926s ok 10 /gmenu/dbus/subscriptions 926s ok 11 /gmenu/dbus/threaded 926s # slow test /gmenu/dbus/threaded executed in 0.81 secs 926s # Start of peer tests 927s ok 12 /gmenu/dbus/peer/roundtrip 927s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 928s Executing: glib/gmenumodel.test 928s ok 13 /gmenu/dbus/peer/subscriptions 928s # End of peer tests 928s # Start of export tests 928s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 928s ok 14 /gmenu/dbus/export/error-handling 928s # End of export tests 928s # End of dbus tests 928s # Start of attributes tests 928s ok 15 /gmenu/attributes/iterate 928s # End of attributes tests 928s # End of gmenu tests 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s PASS: glib/gmenumodel.test 928s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=0.2s; maxrss=31464 928s autopkgtest [20:58:33]: test gmenumodel: -----------------------] 928s gmenumodel PASS 928s autopkgtest [20:58:33]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 929s autopkgtest [20:58:34]: test mainloop: preparing testbed 929s Reading package lists... 929s Building dependency tree... 929s Reading state information... 929s Starting pkgProblemResolver with broken count: 0 930s Starting 2 pkgProblemResolver with broken count: 0 930s Done 930s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 931s autopkgtest [20:58:36]: test mainloop: [----------------------- 931s Running test: glib/mainloop.test 931s TAP version 14 931s # random seed: R02S8621fb8e1d69f46a4a64e036589ec85c 931s 1..45 931s # Start of maincontext tests 931s ok 1 /maincontext/basic 931s # Add same-priority sources: 15 931s # Find each source: 2 931s # Remove in random order: 31 931s ok 2 /maincontext/nsources_same_priority 931s # Add different-priority sources: 18 931s # Find each source: 2 931s # Remove in random order: 35 931s ok 3 /maincontext/nsources_different_priority 931s # Add sources from threads: 157 932s # Remove sources from threads: 179 932s ok 4 /maincontext/nsources_threadpool 932s ok 5 /maincontext/source_finalization 932s # /maincontext/idle-once summary: Test g_idle_add_once() works 932s ok 6 /maincontext/idle-once 932s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 932s ok 7 /maincontext/timeout-once 932s # Start of source_finalization_from_source tests 932s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 8 /maincontext/source_finalization_from_source/0 932s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 9 /maincontext/source_finalization_from_source/1 932s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 10 /maincontext/source_finalization_from_source/2 932s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 11 /maincontext/source_finalization_from_source/3 932s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 12 /maincontext/source_finalization_from_source/4 932s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 13 /maincontext/source_finalization_from_source/5 932s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 14 /maincontext/source_finalization_from_source/6 932s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 15 /maincontext/source_finalization_from_source/7 932s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 16 /maincontext/source_finalization_from_source/8 932s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 932s ok 17 /maincontext/source_finalization_from_source/9 932s # End of source_finalization_from_source tests 932s # Start of source_finalization_from_dispatch tests 932s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 932s ok 18 /maincontext/source_finalization_from_dispatch/0 932s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 932s ok 19 /maincontext/source_finalization_from_dispatch/1 932s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 932s ok 20 /maincontext/source_finalization_from_dispatch/2 932s # End of source_finalization_from_dispatch tests 932s # End of maincontext tests 932s # Start of mainloop tests 932s ok 21 /mainloop/basic 932s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 932s ok 23 /mainloop/priorities 932s ok 24 /mainloop/invoke 932s # slow test /mainloop/invoke executed in 0.50 secs 933s ok 25 /mainloop/child_sources 933s # slow test /mainloop/child_sources executed in 1.20 secs 935s ok 26 /mainloop/recursive_child_sources 935s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 935s ok 27 /mainloop/recursive_loop_child_sources 936s ok 28 /mainloop/swapping_child_sources 936s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 936s ok 29 /mainloop/blocked_child_sources 937s ok 30 /mainloop/source_time 937s # slow test /mainloop/source_time executed in 1.00 secs 937s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 937s ok 31 /mainloop/overflow 937s Executing: glib/mainloop.test 937s ok 32 /mainloop/ready-time 937s # slow test /mainloop/ready-time executed in 0.50 secs 937s ok 33 /mainloop/wakeup 937s ok 34 /mainloop/remove-invalid 937s ok 35 /mainloop/unref-while-pending 938s ok 36 /mainloop/unix-fd 938s # slow test /mainloop/unix-fd executed in 0.57 secs 938s ok 37 /mainloop/unix-fd-source 938s ok 38 /mainloop/source-unix-fd-api 938s ok 39 /mainloop/wait 938s ok 40 /mainloop/unix-file-poll 938s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 938s ok 41 /mainloop/unix-fd-priority 938s ok 42 /mainloop/nfds 938s ok 43 /mainloop/steal-fd 938s # Start of ownerless-polling tests 938s ok 44 /mainloop/ownerless-polling/attach-first 938s ok 45 /mainloop/ownerless-polling/pop-first 938s # End of ownerless-polling tests 938s # End of mainloop tests 938s PASS: glib/mainloop.test 938s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.9s; maxrss=15368 938s autopkgtest [20:58:43]: test mainloop: -----------------------] 939s autopkgtest [20:58:44]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 939s mainloop PASS 939s autopkgtest [20:58:44]: test memory-monitor-dbus: preparing testbed 939s Reading package lists... 939s Building dependency tree... 939s Reading state information... 940s Starting pkgProblemResolver with broken count: 0 940s Starting 2 pkgProblemResolver with broken count: 0 940s Done 940s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 941s autopkgtest [20:58:46]: test memory-monitor-dbus: [----------------------- 941s Running test: glib/memory-monitor-dbus.test 942s TAP version 13 942s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 942s # Received memory warning signal, level 942s # Received memory warning signal, level 942s # Received memory warning signal, level 942s 1..1 942s PASS: glib/memory-monitor-dbus.test 942s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=29316 942s autopkgtest [20:58:47]: test memory-monitor-dbus: -----------------------] 942s autopkgtest [20:58:47]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 942s memory-monitor-dbus PASS 943s autopkgtest [20:58:48]: test socket: 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 [20:58:50]: test socket: [----------------------- 945s Running test: glib/socket.test 945s TAP version 14 945s # random seed: R02Se881f8d8953b2d735018bb559a95175c 945s 1..28 945s # Start of socket tests 946s ok 1 /socket/ipv4_sync 946s # slow test /socket/ipv4_sync executed in 1.00 secs 947s ok 2 /socket/ipv4_async 947s # slow test /socket/ipv4_async executed in 1.00 secs 947s ok 3 /socket/ipv6_sync 947s ok 4 /socket/ipv6_async 947s ok 5 /socket/ipv6_v4mapped 948s ok 6 /socket/close_graceful 948s # slow test /socket/close_graceful executed in 1.00 secs 948s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 948s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 948s ok 8 /socket/fd_reuse 948s ok 9 /socket/address 948s ok 10 /socket/unix-from-fd 948s ok 11 /socket/unix-connection 948s ok 12 /socket/unix-connection-ancillary-data 948s ok 13 /socket/source-postmortem 948s ok 14 /socket/read_write 948s ok 15 /socket/read_writev 948s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 948s ok 16 /socket/receive_bytes 948s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 948s ok 17 /socket/receive_bytes_from 948s # Start of ipv4_sync tests 948s ok 18 /socket/ipv4_sync/datagram 948s # Start of datagram tests 949s ok 19 /socket/ipv4_sync/datagram/timeouts 949s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 949s # End of datagram tests 949s # End of ipv4_sync tests 949s # Start of ipv6_sync tests 949s ok 20 /socket/ipv6_sync/datagram 949s # Start of datagram tests 950s ok 21 /socket/ipv6_sync/datagram/timeouts 950s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 950s # End of datagram tests 950s # End of ipv6_sync tests 950s # Start of reuse tests 950s ok 22 /socket/reuse/tcp 950s ok 23 /socket/reuse/udp 950s # End of reuse tests 950s # Start of get_available tests 950s ok 24 /socket/get_available/datagram 950s ok 25 /socket/get_available/stream 950s # End of get_available tests 950s # Start of credentials tests 950s # Supported on this OS: GCredentials:linux-ucred:pid=0 950s ok 26 /socket/credentials/tcp_client 950s # Supported on this OS: GCredentials:linux-ucred:pid=0 950s ok 27 /socket/credentials/tcp_server 950s # Supported on this OS: GCredentials:linux-ucred:pid=18134,uid=1000,gid=1000 950s ok 28 /socket/credentials/unix_socketpair 950s # End of credentials tests 950s # End of socket tests 950s PASS: glib/socket.test 950s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5352 951s autopkgtest [20:58:56]: test socket: -----------------------] 951s autopkgtest [20:58:56]: test socket: - - - - - - - - - - results - - - - - - - - - - 951s socket PASS 951s autopkgtest [20:58:56]: test testfilemonitor: preparing testbed 952s Reading package lists... 952s Building dependency tree... 952s Reading state information... 952s Starting pkgProblemResolver with broken count: 0 952s Starting 2 pkgProblemResolver with broken count: 0 952s Done 953s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 953s autopkgtest [20:58:58]: test testfilemonitor: [----------------------- 954s Running test: glib/testfilemonitor.test 954s TAP version 14 954s # random seed: R02Sdccc27ebc7e25ccc6762fbb4ed154757 954s 1..8 954s # Start of monitor tests 954s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 954s # Using temporary directory: /tmp/gio-test-testfilemonitor_L22X52 954s # Using GFileMonitor GInotifyFileMonitor 956s ok 1 /monitor/atomic-replace 956s # slow test /monitor/atomic-replace executed in 2.00 secs 956s # Using temporary directory: /tmp/gio-test-testfilemonitor_MH5X52 956s # Using GFileMonitor GInotifyFileMonitor 958s ok 2 /monitor/file-changes 958s # slow test /monitor/file-changes executed in 2.50 secs 958s # Using temporary directory: /tmp/gio-test-testfilemonitor_UY4852 958s # Using GFileMonitor GInotifyFileMonitor 959s Executing: glib/testfilemonitor.test 962s ok 3 /monitor/dir-monitor 962s # slow test /monitor/dir-monitor executed in 3.50 secs 962s # Using temporary directory: /tmp/gio-test-testfilemonitor_XOZX52 962s # Using GFileMonitor GInotifyFileMonitor 964s Executing: glib/testfilemonitor.test 969s Executing: glib/testfilemonitor.test 974s Executing: glib/testfilemonitor.test 979s Executing: glib/testfilemonitor.test 984s Executing: glib/testfilemonitor.test 987s ok 4 /monitor/dir-not-existent 987s # slow test /monitor/dir-not-existent executed in 25.02 secs 987s # Using temporary directory: /tmp/gio-test-testfilemonitor_8JXY52 987s # Using GFileMonitor 0 GInotifyFileMonitor 987s # Using GFileMonitor 1 GInotifyFileMonitor 989s Executing: glib/testfilemonitor.test 989s ok 5 /monitor/cross-dir-moves 989s # slow test /monitor/cross-dir-moves executed in 2.00 secs 989s # Using temporary directory: /tmp/gio-test-testfilemonitor_1JTY52 989s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 989s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 989s ok 6 /monitor/finalize-in-callback 989s # Using temporary directory: /tmp/gio-test-testfilemonitor_H3PY52 989s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 989s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 989s ok 7 /monitor/root 989s # Start of file tests 989s # Using temporary directory: /tmp/gio-test-testfilemonitor_G4QY52 989s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 989s # Running with hard link tests 989s # Using GFileMonitor GInotifyFileMonitor 992s # Event 0 at expected index 7 skipped because it is marked as optional 992s # Event 2 at expected index 11 skipped because it is marked as optional 992s ok 8 /monitor/file/hard-links 992s # slow test /monitor/file/hard-links executed in 3.50 secs 992s # End of file tests 992s # End of monitor tests 992s PASS: glib/testfilemonitor.test 992s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 993s autopkgtest [20:59:38]: test testfilemonitor: -----------------------] 993s autopkgtest [20:59:38]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 993s testfilemonitor PASS 993s autopkgtest [20:59:38]: test thread-pool-slow: preparing testbed 993s Reading package lists... 994s Building dependency tree... 994s Reading state information... 994s Starting pkgProblemResolver with broken count: 0 994s Starting 2 pkgProblemResolver with broken count: 0 994s Done 995s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 995s autopkgtest [20:59:40]: test thread-pool-slow: [----------------------- 995s Running test: glib/thread-pool-slow.test 995s TAP version 14 995s # random seed: R02Sec3e1cb35446f93fb88283ec72ac04ae 995s 1..7 995s # Start of threadpool tests 995s ok 1 /threadpool/functions 996s ok 2 /threadpool/stop-unused 996s # slow test /threadpool/stop-unused executed in 0.51 secs 996s ok 3 /threadpool/pools 996s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 996s # [unsorted] ===> pushed new thread with id:65, number of threads:2, unprocessed:2 996s # [unsorted] ===> pushed new thread with id:93, number of threads:3, unprocessed:3 996s # [unsorted] ===> pushed new thread with id:56, number of threads:4, unprocessed:4 996s # [unsorted] ===> pushed new thread with id:44, number of threads:5, unprocessed:5 996s # [unsorted] ===> pushed new thread with id:16, number of threads:6, unprocessed:4 996s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:5 996s # [unsorted] ===> pushed new thread with id:36, number of threads:8, unprocessed:6 996s # [unsorted] ===> pushed new thread with id:11, number of threads:9, unprocessed:7 996s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:8 996s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:1 996s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:2 996s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:3 996s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:4 996s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:5 996s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:6 996s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:7 996s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:8 996s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:9 996s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:10 996s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:11 996s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:12 996s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:13 996s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:14 996s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:15 996s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:16 996s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:17 996s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:18 996s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:19 996s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:20 996s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:21 996s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:22 996s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:23 996s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:24 996s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:25 996s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:26 996s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:27 996s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:28 996s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:29 996s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:30 996s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:31 996s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:32 996s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:33 996s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:34 996s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:35 996s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:36 996s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:37 996s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:38 996s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:39 996s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:40 996s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:41 996s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:42 996s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:43 996s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:44 996s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:45 996s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:46 996s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:47 996s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:48 996s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:49 996s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:50 996s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:51 996s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:52 996s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:53 996s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:54 996s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:55 996s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:56 996s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:57 996s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:58 996s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:59 996s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:60 996s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:61 996s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:62 996s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:63 996s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:64 996s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:65 996s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:66 996s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:67 996s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:68 996s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:69 996s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:70 996s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:71 996s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:72 996s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:73 996s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:74 996s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:75 996s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:76 996s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:77 996s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:78 996s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:79 996s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:80 996s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:81 996s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:82 996s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:83 996s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:84 996s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:85 996s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:86 996s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:87 996s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:88 996s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:89 996s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:90 996s ok 4 /threadpool/no-sort 996s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:1 996s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:2 996s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:3 996s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:4 996s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:5 996s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:6 996s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:7 996s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:8 996s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:9 996s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:10 996s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:11 996s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:12 996s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:13 996s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:14 996s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:15 996s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:16 996s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:17 996s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:18 996s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:19 996s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:20 996s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:21 996s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:22 996s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:23 996s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:24 996s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:25 996s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:26 996s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:27 996s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:28 996s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:29 996s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:30 996s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:31 996s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:32 996s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:33 996s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:34 996s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:35 996s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:36 996s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:37 996s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:38 996s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:39 996s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:40 996s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:41 996s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:42 996s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:43 996s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:44 996s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:45 996s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:46 996s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:47 996s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:48 996s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:49 996s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:50 996s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:51 996s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:52 996s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:53 996s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:54 996s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:55 996s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:56 996s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:57 996s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:58 996s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:59 996s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:60 996s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:61 996s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:62 996s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:63 996s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:64 996s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:65 996s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:66 996s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:67 996s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:68 996s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:69 996s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:70 996s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:71 996s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:72 996s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:73 996s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:74 996s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:75 996s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:76 996s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:77 996s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:78 996s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:79 996s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:80 996s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:81 996s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:82 996s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:83 996s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:84 996s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:85 996s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:86 996s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:87 996s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:88 996s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:89 996s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:90 996s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:91 996s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:92 996s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:93 996s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:94 996s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:95 996s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:96 996s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:97 996s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:98 996s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:99 996s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:100 996s # Starting thread pool processing 996s ok 5 /threadpool/sort 997s ok 6 /threadpool/stop-unused-multiple 997s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 997s # Pool idle thread count: 0, unprocessed jobs: 50 997s # Pool idle thread count: 0, unprocessed jobs: 0 997s # Pool idle thread count: 0, unprocessed jobs: 0 998s # Pool idle thread count: 10, unprocessed jobs: 0 998s # Pool idle thread count: 10, unprocessed jobs: 0 998s # Pool idle thread count: 10, unprocessed jobs: 0 998s # Pool idle thread count: 10, unprocessed jobs: 0 999s # Pool idle thread count: 10, unprocessed jobs: 0 999s # Pool idle thread count: 10, unprocessed jobs: 0 999s # Pool idle thread count: 10, unprocessed jobs: 0 999s # Pool idle thread count: 10, unprocessed jobs: 0 1000s # Pool idle thread count: 10, unprocessed jobs: 0 1000s # Pool idle thread count: 10, unprocessed jobs: 0 1000s # Pool idle thread count: 10, unprocessed jobs: 0 1000s # Pool idle thread count: 10, unprocessed jobs: 0 1001s # Pool idle thread count: 10, unprocessed jobs: 0 1001s # Pool idle thread count: 10, unprocessed jobs: 0 1001s Executing: glib/thread-pool-slow.test 1001s # Pool idle thread count: 10, unprocessed jobs: 0 1001s # Pool idle thread count: 10, unprocessed jobs: 0 1002s # Pool idle thread count: 10, unprocessed jobs: 0 1002s # Pool idle thread count: 10, unprocessed jobs: 0 1002s # Pool idle thread count: 10, unprocessed jobs: 0 1002s # Pool idle thread count: 10, unprocessed jobs: 0 1003s # Pool idle thread count: 10, unprocessed jobs: 0 1003s # Pool idle thread count: 10, unprocessed jobs: 0 1003s # Pool idle thread count: 10, unprocessed jobs: 0 1003s # Pool idle thread count: 10, unprocessed jobs: 0 1004s # Pool idle thread count: 10, unprocessed jobs: 0 1004s # Pool idle thread count: 10, unprocessed jobs: 0 1004s # Pool idle thread count: 10, unprocessed jobs: 0 1004s # Pool idle thread count: 10, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1005s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 2 1006s # Pool idle thread count: 8, unprocessed jobs: 0 1006s # Pool idle thread count: 8, unprocessed jobs: 0 1006s # Pool idle thread count: 8, unprocessed jobs: 0 1006s Executing: glib/thread-pool-slow.test 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1006s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1007s # Pool idle thread count: 10, unprocessed jobs: 0 1008s # Pool idle thread count: 2, unprocessed jobs: 0 1008s # Pool idle thread count: 2, unprocessed jobs: 0 1008s # Pool idle thread count: 2, unprocessed jobs: 0 1008s # Pool idle thread count: 2, unprocessed jobs: 0 1009s # Pool idle thread count: 2, unprocessed jobs: 0 1009s # Pool idle thread count: 2, unprocessed jobs: 0 1009s # Pool idle thread count: 2, unprocessed jobs: 0 1009s # Pool idle thread count: 2, unprocessed jobs: 0 1010s # Pool idle thread count: 2, unprocessed jobs: 0 1010s # Pool idle thread count: 2, unprocessed jobs: 0 1010s # Pool idle thread count: 2, unprocessed jobs: 0 1010s # Pool idle thread count: 2, unprocessed jobs: 0 1011s # Pool idle thread count: 2, unprocessed jobs: 0 1011s # Pool idle thread count: 2, unprocessed jobs: 0 1011s Executing: glib/thread-pool-slow.test 1011s # Pool idle thread count: 2, unprocessed jobs: 0 1011s # Pool idle thread count: 2, unprocessed jobs: 0 1012s # Pool idle thread count: 2, unprocessed jobs: 0 1012s # Pool idle thread count: 2, unprocessed jobs: 0 1012s # Pool idle thread count: 2, unprocessed jobs: 0 1012s # Pool idle thread count: 2, unprocessed jobs: 0 1013s # Pool idle thread count: 2, unprocessed jobs: 0 1013s # Pool idle thread count: 2, unprocessed jobs: 0 1013s # Pool idle thread count: 2, unprocessed jobs: 0 1013s # Pool idle thread count: 2, unprocessed jobs: 0 1014s # Pool idle thread count: 2, unprocessed jobs: 0 1014s # Pool idle thread count: 2, unprocessed jobs: 0 1014s # Pool idle thread count: 2, unprocessed jobs: 0 1014s # Pool idle thread count: 2, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1015s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1016s # Pool idle thread count: 2, unprocessed jobs: 0 1016s Executing: glib/thread-pool-slow.test 1016s ok 7 /threadpool/idle-time 1016s # slow test /threadpool/idle-time executed in 19.52 secs 1016s # End of threadpool tests 1016s PASS: glib/thread-pool-slow.test 1016s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3768 1016s autopkgtest [21:00:01]: test thread-pool-slow: -----------------------] 1017s autopkgtest [21:00:02]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1017s thread-pool-slow PASS 1017s autopkgtest [21:00:02]: test threadtests: preparing testbed 1017s Reading package lists... 1018s Building dependency tree... 1018s Reading state information... 1018s Starting pkgProblemResolver with broken count: 0 1018s Starting 2 pkgProblemResolver with broken count: 0 1018s Done 1019s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1019s autopkgtest [21:00:04]: test threadtests: [----------------------- 1020s Running test: glib/threadtests.test 1020s TAP version 14 1020s # random seed: R02S412013945fa97492346f61b93bf73b70 1020s 1..5 1020s # Start of GObject tests 1020s ok 1 /GObject/threaded-object-init 1020s ok 2 /GObject/threaded-weak-ref 1020s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1020s # /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 1020s ok 3 /GObject/threaded-toggle-notify 1020s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1020s # Start of threaded-weak-ref tests 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1020s # /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. 1020s ok 5 /GObject/threaded-weak-ref/on-finalization 1020s # End of threaded-weak-ref tests 1020s # End of GObject tests 1020s PASS: glib/threadtests.test 1020s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=3352 1021s autopkgtest [21:00:06]: test threadtests: -----------------------] 1021s autopkgtest [21:00:06]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1021s threadtests PASS 1021s autopkgtest [21:00:06]: test timeout: preparing testbed 1021s Reading package lists... 1022s Building dependency tree... 1022s Reading state information... 1022s Starting pkgProblemResolver with broken count: 0 1022s Starting 2 pkgProblemResolver with broken count: 0 1022s Done 1023s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1024s autopkgtest [21:00:09]: test timeout: [----------------------- 1024s Running test: glib/timeout.test 1024s TAP version 14 1024s # random seed: R02S2d09b5f648e80f282298b7bad48f5496 1024s 1..5 1024s # Start of timeout tests 1024s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1026s ok 1 /timeout/seconds 1026s # slow test /timeout/seconds executed in 2.10 secs 1028s ok 2 /timeout/seconds-once 1028s # slow test /timeout/seconds-once executed in 2.10 secs 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1029s Executing: glib/timeout.test 1030s ok 3 /timeout/weeks-overflow 1030s # slow test /timeout/weeks-overflow executed in 2.10 secs 1030s ok 4 /timeout/far-future-ready-time 1034s Executing: glib/timeout.test 1039s Executing: glib/timeout.test 1041s ok 5 /timeout/rounding 1041s # slow test /timeout/rounding executed in 10.73 secs 1041s # End of timeout tests 1041s PASS: glib/timeout.test 1041s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2864 1041s autopkgtest [21:00:26]: test timeout: -----------------------] 1041s timeout PASS 1041s autopkgtest [21:00:26]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1042s autopkgtest [21:00:27]: test timer: preparing testbed 1042s Reading package lists... 1042s Building dependency tree... 1042s Reading state information... 1043s Starting pkgProblemResolver with broken count: 0 1043s Starting 2 pkgProblemResolver with broken count: 0 1043s Done 1043s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1044s autopkgtest [21:00:29]: test timer: [----------------------- 1044s Running test: glib/timer.test 1044s TAP version 14 1044s # random seed: R02Sb9500c815a1d907bb55820beb7c0334e 1044s 1..10 1044s # Start of timer tests 1044s ok 1 /timer/basic 1044s ok 2 /timer/stop 1044s ok 3 /timer/continue 1044s ok 4 /timer/reset 1044s ok 5 /timer/is_active 1044s # End of timer tests 1044s # Start of timeval tests 1044s ok 6 /timeval/add 1044s ok 7 /timeval/from-iso8601 1044s ok 8 /timeval/to-iso8601 1044s # Start of to-iso8601 tests 1044s ok 9 /timeval/to-iso8601/overflow 1044s # End of to-iso8601 tests 1044s # End of timeval tests 1044s # Start of usleep tests 1044s ok 10 /usleep/with-zero-wait 1044s # End of usleep tests 1044s PASS: glib/timer.test 1044s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2872 1044s autopkgtest [21:00:29]: test timer: -----------------------] 1045s timer PASS 1045s autopkgtest [21:00:30]: test timer: - - - - - - - - - - results - - - - - - - - - - 1045s autopkgtest [21:00:30]: test 1065022-futureproofing: preparing testbed 1107s autopkgtest [21:01:32]: testbed dpkg architecture: arm64 1107s autopkgtest [21:01:32]: testbed apt version: 3.0.0 1107s autopkgtest [21:01:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1107s autopkgtest [21:01:32]: testbed release detected to be: questing 1108s autopkgtest [21:01:33]: updating testbed package index (apt update) 1108s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 1108s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 1108s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 1108s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 1108s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1968 kB] 1108s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.1 kB] 1108s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [167 kB] 1108s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [220 kB] 1108s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1473 kB] 1108s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [14.3 kB] 1109s Fetched 3997 kB in 1s (5653 kB/s) 1109s Reading package lists... 1110s autopkgtest [21:01:35]: upgrading testbed (apt dist-upgrade and autopurge) 1110s Reading package lists... 1111s Building dependency tree... 1111s Reading state information... 1111s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1111s Starting 2 pkgProblemResolver with broken count: 0 1111s Done 1112s Entering ResolveByKeep 1112s 1112s Calculating upgrade... 1113s The following packages will be upgraded: 1113s libperl5.40 perl perl-base perl-modules-5.40 tzdata 1113s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1113s Need to get 10.2 MB of archives. 1113s After this operation, 1024 B disk space will be freed. 1113s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 1113s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl arm64 5.40.1-3 [262 kB] 1113s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 1113s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 1113s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 tzdata all 2025b-3ubuntu1 [198 kB] 1113s Preconfiguring packages ... 1114s Fetched 10.2 MB in 0s (35.4 MB/s) 1114s (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 ... 85225 files and directories currently installed.) 1114s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 1114s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 1114s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 1114s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 1114s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 1114s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 1114s Setting up perl-base (5.40.1-3) ... 1114s (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 ... 85225 files and directories currently installed.) 1114s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 1114s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 1115s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 1115s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 1115s Setting up tzdata (2025b-3ubuntu1) ... 1115s 1115s Current default time zone: 'Etc/UTC' 1115s Local time is now: Fri May 2 21:01:40 UTC 2025. 1115s Universal Time is now: Fri May 2 21:01:40 UTC 2025. 1115s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1115s 1115s Setting up perl-modules-5.40 (5.40.1-3) ... 1115s Setting up libperl5.40:arm64 (5.40.1-3) ... 1115s Setting up perl (5.40.1-3) ... 1115s Processing triggers for man-db (2.13.0-1) ... 1115s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1116s Reading package lists... 1116s Building dependency tree... 1116s Reading state information... 1116s Starting pkgProblemResolver with broken count: 0 1116s Starting 2 pkgProblemResolver with broken count: 0 1117s Done 1117s Solving dependencies... 1117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1120s Reading package lists... 1120s Building dependency tree... 1120s Reading state information... 1120s Starting pkgProblemResolver with broken count: 0 1120s Starting 2 pkgProblemResolver with broken count: 0 1120s Done 1121s The following NEW packages will be installed: 1121s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1121s libdconf1 1121s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1121s Need to get 138 kB of archives. 1121s After this operation, 701 kB of additional disk space will be used. 1121s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 1121s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 1121s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 1121s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 dpkg-repack all 1.54 [11.2 kB] 1121s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB] 1121s Fetched 138 kB in 0s (8155 kB/s) 1121s Selecting previously unselected package libdconf1:arm64. 1121s (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 ... 85225 files and directories currently installed.) 1121s Preparing to unpack .../libdconf1_0.40.0-5_arm64.deb ... 1121s Unpacking libdconf1:arm64 (0.40.0-5) ... 1121s Selecting previously unselected package dconf-service. 1121s Preparing to unpack .../dconf-service_0.40.0-5_arm64.deb ... 1121s Unpacking dconf-service (0.40.0-5) ... 1121s Selecting previously unselected package dconf-gsettings-backend:arm64. 1121s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_arm64.deb ... 1121s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 1121s Selecting previously unselected package dpkg-repack. 1122s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1122s Unpacking dpkg-repack (1.54) ... 1122s Selecting previously unselected package gsettings-desktop-schemas. 1122s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ... 1122s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ... 1122s Setting up dpkg-repack (1.54) ... 1122s Setting up libdconf1:arm64 (0.40.0-5) ... 1122s Setting up dconf-service (0.40.0-5) ... 1122s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 1122s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ... 1122s Processing triggers for man-db (2.13.0-1) ... 1122s Processing triggers for libglib2.0-0t64:arm64 (2.84.1-1) ... 1122s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1129s autopkgtest [21:01:54]: test 1065022-futureproofing: [----------------------- 1129s + export DEBIAN_FRONTEND=noninteractive 1129s + n=0 1129s + failed=0 1129s + binary_package=libglib2.0-0t64 1129s + future_binary_package=libglib2.0-0xyz 1129s + pwd 1129s + srcdir=/tmp/autopkgtest.u2jAug/build.hb4/src 1129s + mktemp -d 1129s + tmpdir=/tmp/tmp.HaOzVaQFXW 1129s + cd /tmp/tmp.HaOzVaQFXW 1129s + [ -e /tmp/autopkgtest.u2jAug/build.hb4/src/debian/tests/manual/local-1065022.sources ] 1129s + dpkg-query -W dpkg-repack 1129s dpkg-repack 1.54 1129s + dpkg-repack --generate libglib2.0-0t64 1130s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1130s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.IWnMQ6 for libglib2.0-0t64 1130s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.IWnMQ6 ." 1130s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.IWnMQ6/DEBIAN/control 1130s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.IWnMQ6/DEBIAN/control 1130s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.IWnMQ6/DEBIAN/control 1130s + 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.IWnMQ6/DEBIAN/control 1130s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.IWnMQ6 libglib2.0-0xyz.deb 1130s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1131s + apt-get -y install ./libglib2.0-0xyz.deb 1131s Reading package lists... 1132s Building dependency tree... 1132s Reading state information... 1132s Solving dependencies... 1132s The following packages were automatically installed and are no longer required: 1132s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1132s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1132s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1132s libonig5 libprotobuf-c1 python3-apport python3-configobj python3-debconf 1132s python3-markdown-it python3-mdurl python3-problem-report python3-pygments 1132s python3-rich python3-systemd 1132s Use 'sudo apt autoremove' to remove them. 1132s The following additional packages will be installed: 1132s xdg-user-dirs 1132s Suggested packages: 1132s low-memory-monitor 1132s Recommended packages: 1132s shared-mime-info 1132s The following packages will be REMOVED: 1132s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1132s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1132s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1132s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1132s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1132s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1132s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1132s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1132s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1132s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1132s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1132s The following NEW packages will be installed: 1132s libglib2.0-0xyz xdg-user-dirs 1133s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1133s Need to get 18.5 kB/1591 kB of archives. 1133s After this operation, 38.7 MB disk space will be freed. 1133s Get:1 /tmp/tmp.HaOzVaQFXW/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.84.1-1 [1572 kB] 1133s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 xdg-user-dirs arm64 0.18-2 [18.5 kB] 1133s Fetched 18.5 kB in 0s (713 kB/s) 1133s (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 ... 85294 files and directories currently installed.) 1133s Removing bolt (0.9.8-1) ... 1133s Removing cloud-init (25.1.1-0ubuntu2) ... 1133s Removing cloud-init-base (25.1.1-0ubuntu2) ... 1134s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ... 1134s Removing dconf-gsettings-backend:arm64 (0.40.0-5) ... 1134s Removing dconf-service (0.40.0-5) ... 1134s Removing fwupd (2.0.8-3) ... 1134s Removing networkd-dispatcher (2.2.4-1.1) ... 1135s Removing udisks2 (2.10.1-11ubuntu2) ... 1135s Removing libblockdev-crypto3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-fs3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-loop3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-mdraid3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-nvme3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-part3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-swap3:arm64 (3.3.0-2) ... 1135s Removing libblockdev3:arm64 (3.3.0-2) ... 1135s Removing libblockdev-utils3:arm64 (3.3.0-2) ... 1135s Removing libdconf1:arm64 (0.40.0-5) ... 1136s Removing libfwupd3:arm64 (2.0.8-3) ... 1136s Removing shared-mime-info (2.4-5build1) ... 1136s Removing xfsprogs (6.13.0-2ubuntu1) ... 1136s Removing python3-dbus (1.3.2-5build5) ... 1136s Removing libgudev-1.0-0:arm64 (1:238-6) ... 1136s Removing libjcat1:arm64 (0.2.0-2build3) ... 1136s Removing libjson-glib-1.0-0:arm64 (1.10.6+ds-2) ... 1136s Removing libqmi-proxy (1.35.6-1) ... 1136s Removing libqmi-glib5:arm64 (1.35.6-1) ... 1136s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1136s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1136s Removing libmm-glib0:arm64 (1.23.4-0ubuntu3) ... 1136s Removing ubuntu-minimal (1.549) ... 1136s Removing netplan.io (1.1.2-2ubuntu1) ... 1136s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1136s Removing python3-netplan (1.1.2-2ubuntu1) ... 1137s Removing netplan-generator (1.1.2-2ubuntu1) ... 1137s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1137s Removing libnetplan1:arm64 (1.1.2-2ubuntu1) ... 1137s Removing libpolkit-agent-1-0:arm64 (126-2) ... 1137s Removing libpolkit-gobject-1-0:arm64 (126-2) ... 1137s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1137s Removing libudisks2-0:arm64 (2.10.1-11ubuntu2) ... 1137s Removing libvolume-key1:arm64 (0.3.12-9) ... 1137s Removing libxmlb2:arm64 (0.3.22-1) ... 1137s Removing apport (2.32.0-0ubuntu5) ... 1137s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ... 1138s Removing python3-gi (3.50.0-4build1) ... 1138s Removing gir1.2-girepository-2.0:arm64 (1.84.0-1) ... 1138s Removing gir1.2-glib-2.0:arm64 (2.84.1-1) ... 1138s Removing libgirepository-1.0-1:arm64 (1.84.0-1) ... 1138s Removing libglib2.0-0t64:arm64 (2.84.1-1) ... 1138s Selecting previously unselected package libglib2.0-0xyz:arm64. 1138s (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 ... 84151 files and directories currently installed.) 1138s Preparing to unpack .../libglib2.0-0xyz.deb ... 1138s Unpacking libglib2.0-0xyz:arm64 (2.84.1-1) ... 1138s Selecting previously unselected package xdg-user-dirs. 1138s Preparing to unpack .../xdg-user-dirs_0.18-2_arm64.deb ... 1138s Unpacking xdg-user-dirs (0.18-2) ... 1138s Setting up xdg-user-dirs (0.18-2) ... 1138s Setting up libglib2.0-0xyz:arm64 (2.84.1-1) ... 1138s No schema files found: removed existing output file. 1138s Processing triggers for dbus (1.16.2-2ubuntu1) ... 1138s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1138s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1138s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1154s System running in EFI mode, skipping. 1154s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1154s Processing triggers for man-db (2.13.0-1) ... 1155s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1155s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1155s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1155s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1155s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1155s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1155s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1155s + n=1 1155s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1155s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1155s + failed=1 1155s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1155s + n=2 1155s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1155s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1155s + failed=1 1155s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1155s + n=3 1155s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1155s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1155s + failed=1 1155s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1155s + n=4 1155s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1155s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1155s + failed=1 1155s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1155s + n=5 1155s + test -e /usr/lib/*/gio/modules/giomodule.cache 1155s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1155s + failed=1 1155s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1155s + n=6 1155s + test -s /usr/lib/*/gio/modules/giomodule.cache 1155s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1155s + failed=1 1155s + apt-get -y purge libglib2.0-0t64 1155s Reading package lists... 1156s Building dependency tree... 1156s Reading state information... 1156s The following packages were automatically installed and are no longer required: 1156s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1156s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1156s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1156s libonig5 libprotobuf-c1 python3-apport python3-configobj python3-debconf 1156s python3-markdown-it python3-mdurl python3-problem-report python3-pygments 1156s python3-rich python3-systemd 1156s Use 'sudo apt autoremove' to remove them. 1156s The following packages will be REMOVED: 1156s libglib2.0-0t64* 1157s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1157s After this operation, 0 B of additional disk space will be used. 1157s (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 ... 84186 files and directories currently installed.) 1157s Purging configuration files for libglib2.0-0t64:arm64 (2.84.1-1) ... 1157s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1157s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1157s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1157s + n=7 1157s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1157s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1157s + failed=1 1157s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1157s + n=8 1157s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1157s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1157s + failed=1not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1157s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1157s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1157s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1157s 1157s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1157s + n=9 1157s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1157s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1157s + failed=1 1157s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1157s + n=10 1157s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1157s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1157s + failed=1 1157s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1157s + n=11 1157s + test -e /usr/lib/*/gio/modules/giomodule.cache 1157s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1157s + failed=1 1157s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1157s + n=12 1157s + test -s /usr/lib/*/gio/modules/giomodule.cache 1157s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1157s + failed=1 1157s + apt-get -y purge libglib2.0-0xyz 1157s Reading package lists... 1157s Building dependency tree... 1157s Reading state information... 1158s The following packages were automatically installed and are no longer required: 1158s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libatomic1 1158s libbytesize-common libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 1158s libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1 1158s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1158s python3-apport python3-configobj python3-debconf python3-markdown-it 1158s python3-mdurl python3-problem-report python3-pygments python3-rich 1158s python3-systemd xdg-user-dirs 1158s Use 'sudo apt autoremove' to remove them. 1158s The following packages will be REMOVED: 1158s libglib2.0-0xyz* 1158s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1158s After this operation, 4972 kB disk space will be freed. 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 ... 84186 files and directories currently installed.) 1159s Removing libglib2.0-0xyz:arm64 (2.84.1-1) ... 1159s Processing triggers for libc-bin (2.41-6ubuntu1) ... 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 ... 84161 files and directories currently installed.) 1159s Purging configuration files for libglib2.0-0xyz:arm64 (2.84.1-1) ... 1159s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + n=13 1159s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1159s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1159s + n=14 1159s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1159s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1159s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s + n=15 1159s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1159s + n=16 1159s + test -e /usr/lib/*/gio/modules/giomodule.cache 1159s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1159s + echo 1..16 1159s + exit 1 1159s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1159s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1159s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1159s 1..16 1159s autopkgtest [21:02:24]: test 1065022-futureproofing: -----------------------] 1160s autopkgtest [21:02:25]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1160s 1065022-futureproofing FLAKY non-zero exit status 1 1160s autopkgtest [21:02:25]: @@@@@@@@@@@@@@@@@@@@ summary 1160s build PASS (superficial) 1160s build-static PASS (superficial) 1160s girepository-tools PASS (superficial) 1160s libgio-2.0-dev-bin PASS (superficial) 1160s libglib2.0-dev PASS (superficial) 1160s installed-tests PASS 1160s closure-refcount PASS 1160s debugcontroller PASS 1160s gdbus-server-auth PASS 1160s gdbus-threading PASS 1160s gmenumodel PASS 1160s mainloop PASS 1160s memory-monitor-dbus PASS 1160s socket PASS 1160s testfilemonitor PASS 1160s thread-pool-slow PASS 1160s threadtests PASS 1160s timeout PASS 1160s timer PASS 1160s 1065022-futureproofing FLAKY non-zero exit status 1 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for b301a680-c4ac-4580-93d6-79ed1aac0245 to get deleted. 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for ebf0c232-5686-495e-9470-44557713be62 to get deleted. 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for 54054c16-1fb4-4950-b848-ecfce8f8dea7 to get deleted. 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for 8a0bfb06-31a6-4ec0-ac7b-03c49532a3e4 to get deleted. 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for cfc0cce5-c385-4531-9229-b203788a28ee to get deleted. 1163s nova [W] Using flock in prodstack7-arm64 1163s Creating nova instance adt-questing-arm64-glib2.0-20250502-200311-juju-7f2275-prod-proposed-migration-environment-21-82136cf8-da3a-4c70-a5d7-aa05252c6770 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID 8e5d326b-32f5-49da-83ce-e406e786e537)... 1163s nova [W] Timed out waiting for 56e34e84-8b12-43cb-aa2b-0add1caf759b to get deleted.